Quellcode durchsuchen

Small adjustments

microtasks
tech234a vor 3 Jahren
Ursprung
Commit
4d5d1bf9a3
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +1
    -1
      tracker.py
  2. +1
    -1
      worker.py

+ 1
- 1
tracker.py Datei anzeigen

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

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


Laden…
Abbrechen
Speichern