xtn-tools-pro 1.0.0.8.0__py3-none-any.whl → 1.0.0.8.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xtn_tools_pro/task_pro/go_fun_v3.py +6 -1
- {xtn_tools_pro-1.0.0.8.0.dist-info → xtn_tools_pro-1.0.0.8.2.dist-info}/METADATA +1 -1
- {xtn_tools_pro-1.0.0.8.0.dist-info → xtn_tools_pro-1.0.0.8.2.dist-info}/RECORD +6 -6
- {xtn_tools_pro-1.0.0.8.0.dist-info → xtn_tools_pro-1.0.0.8.2.dist-info}/LICENSE +0 -0
- {xtn_tools_pro-1.0.0.8.0.dist-info → xtn_tools_pro-1.0.0.8.2.dist-info}/WHEEL +0 -0
- {xtn_tools_pro-1.0.0.8.0.dist-info → xtn_tools_pro-1.0.0.8.2.dist-info}/top_level.txt +0 -0
@@ -188,15 +188,18 @@ class GoFunTaskV3:
|
|
188
188
|
logger.warning("下载队列启动成功...")
|
189
189
|
download_queue_exist_cnt = 3
|
190
190
|
while True:
|
191
|
-
logger.warning(f"{download_not_task_time} {download_task_qsize}")
|
191
|
+
logger.warning(f"aaa {download_not_task_time} {download_task_qsize}")
|
192
192
|
try:
|
193
193
|
qsize = download_queue.qsize()
|
194
194
|
logger.info(f"当前队列剩余任务数:{qsize}")
|
195
195
|
if qsize > download_task_qsize:
|
196
196
|
time.sleep(download_not_task_time)
|
197
197
|
continue
|
198
|
+
logger.warning(f"1111 ")
|
198
199
|
resp = requests.get(download_url, headers=headers, params=params, timeout=5)
|
199
200
|
json_data = resp.json()
|
201
|
+
logger.warning(f"json_data {json_data}")
|
202
|
+
|
200
203
|
result_list = json_data.get("result", [])
|
201
204
|
if not result_list or len(result_list) <= 0:
|
202
205
|
# 判断任务响应是否为空
|
@@ -220,6 +223,8 @@ class GoFunTaskV3:
|
|
220
223
|
logger.critical(f"获取任务请求异常:{e}")
|
221
224
|
time.sleep(2)
|
222
225
|
|
226
|
+
logger.warning(f"wwww {download_not_task_time} {download_task_qsize}")
|
227
|
+
|
223
228
|
def __upload_task(self, upload_queue, ini_info, logger):
|
224
229
|
"""
|
225
230
|
回写任务
|
@@ -12,7 +12,7 @@ xtn_tools_pro/proxy/proxy.py,sha256=No6E1pFY5yx2F4976pXPrLtq-QEVp79KupzcufjSN58,
|
|
12
12
|
xtn_tools_pro/task_pro/__init__.py,sha256=nK3U47hWwE1H875ieEToH9r-jzXHS-PXk8cDstOvRE8,418
|
13
13
|
xtn_tools_pro/task_pro/go_fun.py,sha256=hWEt2uJ9FCvJH7PhVZttS-11A7J6zbRKwX7c5YLYQag,19144
|
14
14
|
xtn_tools_pro/task_pro/go_fun_v2.py,sha256=SgcXgtEBGSVL1V2LyqO0z8Md2H8JZxucYrLLIwqtiLM,18489
|
15
|
-
xtn_tools_pro/task_pro/go_fun_v3.py,sha256=
|
15
|
+
xtn_tools_pro/task_pro/go_fun_v3.py,sha256=QL9ewVDfMcOSDNTlBqeL43RInNyubsi9oir93yrjCxY,18258
|
16
16
|
xtn_tools_pro/utils/__init__.py,sha256=I1_n_NP23F2lBqlF4EOlnOdLYxM8M4pbn63UhJN1hRE,418
|
17
17
|
xtn_tools_pro/utils/crypto.py,sha256=oyzFqWum_oimUtzhfVCELQhdMjxDbLu-nOWfcNmazcc,4087
|
18
18
|
xtn_tools_pro/utils/file_utils.py,sha256=obaBP7CaBCsXxzqGeWzV2l0yw7vicgKOaXzmpMV8ips,2567
|
@@ -22,8 +22,8 @@ xtn_tools_pro/utils/retry.py,sha256=0wjHsR5DBBKpv4naMfxiky8kprrZes4WURIfFQ4H708,
|
|
22
22
|
xtn_tools_pro/utils/set_data.py,sha256=IthfAclck7AbaxOIKOgJZ2wdcfEmlvC-C63Tywcr4bA,11180
|
23
23
|
xtn_tools_pro/utils/sql.py,sha256=EAKzbkZP7Q09j15Gm6o0_uq0qgQmcCQT6EAawbpp4v0,6263
|
24
24
|
xtn_tools_pro/utils/time_utils.py,sha256=TUtzG61PeVYXhaQd6pBrXAdlz7tBispNIRQRcGhE2No,4859
|
25
|
-
xtn_tools_pro-1.0.0.8.
|
26
|
-
xtn_tools_pro-1.0.0.8.
|
27
|
-
xtn_tools_pro-1.0.0.8.
|
28
|
-
xtn_tools_pro-1.0.0.8.
|
29
|
-
xtn_tools_pro-1.0.0.8.
|
25
|
+
xtn_tools_pro-1.0.0.8.2.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26
|
+
xtn_tools_pro-1.0.0.8.2.dist-info/METADATA,sha256=bftABATuPzpM632IT-PqD4Kxg-VOAQmw9qKpLSdpy10,498
|
27
|
+
xtn_tools_pro-1.0.0.8.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
28
|
+
xtn_tools_pro-1.0.0.8.2.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
|
29
|
+
xtn_tools_pro-1.0.0.8.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|