Browse Source

Small adjustments

microtasks
tech234a 3 years ago
parent
commit
4d5d1bf9a3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tracker.py
  2. +1
    -1
      worker.py

+ 1
- 1
tracker.py View File

@@ -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"


+ 1
- 1
worker.py View File

@@ -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


Loading…
Cancel
Save