From 4d5d1bf9a3dd44dd9c5928c313fb846a0ebea654 Mon Sep 17 00:00:00 2001 From: tech234a <46801700+tech234a@users.noreply.github.com> Date: Wed, 23 Sep 2020 22:54:39 -0400 Subject: [PATCH] Small adjustments --- tracker.py | 2 +- worker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tracker.py b/tracker.py index c2abd7a..c457ea3 100644 --- a/tracker.py +++ b/tracker.py @@ -9,7 +9,7 @@ from os.path import isfile from json import loads # https://github.com/ArchiveTeam/tencent-weibo-grab/blob/9bae5f9747e014db9227821a9c11557267967023/pipeline.py -VERSION = "20200923.03" +VERSION = "20200923.04" TRACKER_ID = "ext-yt-communitycontribs" TRACKER_HOST = "trackerproxy.meo.ws" diff --git a/worker.py b/worker.py index 6fb14eb..101cbdb 100644 --- a/worker.py +++ b/worker.py @@ -177,7 +177,7 @@ def threadrunner(jobs: Queue): while not isfile("directory/"+args.split(":", 1)[1]+"/"+args.split(":", 1)[1]+".zip"): print("Attempting to zip item...") - system("zip -9 -r directory/"+args.split(":", 1)[1]+"/"+args.split(":", 1)[1]+".zip out/"+args.split(":", 1)[1]) + system("zip -9 -r directory/"+args.split(":", 1)[1]+"/"+args.split(":", 1)[1]+".zip out/"+args.split(":", 1)[1]+"/*") #get a target targetloc = None