Przeglądaj źródła

Bug fix

microtasks
tech234a 3 lat temu
rodzic
commit
5e18b36bcb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Wyświetl plik

@@ -26,7 +26,7 @@ batchcontent = []

def batchfunc():
ydl = YoutubeDL({"extract_flat": "in_playlist", "simulate": True, "skip_download": True, "quiet": True, "cookiefile": "cookies.txt", "source_address": "0.0.0.0", "call_home": False})
while len(jobs) < 501:
while jobs.qsize() < 501:
desit = tracker.request_item_from_tracker()
if desit:
if desit.split(":", 1)[0] == "video":


Ładowanie…
Anuluj
Zapisz