From 831f79f0d9c79ce6c805d0ab26a08eb655024f84 Mon Sep 17 00:00:00 2001 From: Arkiver2 Date: Thu, 2 Jan 2020 17:43:53 +0100 Subject: [PATCH] Do not import warcio. Update version to 20200102.03. --- pipeline.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pipeline.py b/pipeline.py index 509ee37..9edc4b5 100644 --- a/pipeline.py +++ b/pipeline.py @@ -19,13 +19,6 @@ import string import re import random -try: - import warcio - from warcio.archiveiterator import ArchiveIterator - from warcio.warcwriter import WARCWriter -except: - raise Exception("Please install warc with 'sudo pip install warcio --upgrade'.") - import seesaw from seesaw.externalprocess import WgetDownload from seesaw.pipeline import Pipeline @@ -69,7 +62,7 @@ if not WGET_LUA: # # Update this each time you make a non-cosmetic change. # It will be added to the WARC files and reported to the tracker. -VERSION = '20200102.02' +VERSION = '20200102.03' USER_AGENT = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1)' TRACKER_ID = 'reddit' TRACKER_HOST = 'tracker.archiveteam.org'