tech234a 3 лет назад
Родитель
Сommit
f19588f7f9
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Просмотреть файл

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


def batchfunc(): 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}) 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 jobs.qsize() < 501:
while jobs.qsize() < 251:
desit = tracker.request_item_from_tracker() desit = tracker.request_item_from_tracker()
if desit: if desit:
if desit.split(":", 1)[0] == "video": if desit.split(":", 1)[0] == "video":


Загрузка…
Отмена
Сохранить