소스 검색

Bug fix

microtasks
tech234a 3 년 전
부모
커밋
5e18b36bcb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py 파일 보기

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


불러오는 중...
취소
저장