This commit is contained in:
cwx
2023-04-06 19:57:13 +08:00
parent e084f76c5e
commit a964ba6431
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -167,7 +167,10 @@ class downloadUtils:
"Accept-Encoding": "gzip, deflate, sdch",
# 'Connection': 'close',
}
@classmethod
def downQueueClear(cls): cls.QUEUE_DOWN = Queue()
@classmethod
def putDownUrlDirFileType(cls,url,dir,file,type): cls.QUEUE_DOWN.put([url,dir,file,type])