xtn-tools-pro 1.0.0.8.2__py3-none-any.whl → 1.0.0.8.4__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.
@@ -188,19 +188,16 @@ class GoFunTaskV3:
188
188
  logger.warning("下载队列启动成功...")
189
189
  download_queue_exist_cnt = 3
190
190
  while True:
191
- logger.warning(f"aaa {download_not_task_time} {download_task_qsize}")
192
191
  try:
193
192
  qsize = download_queue.qsize()
194
193
  logger.info(f"当前队列剩余任务数:{qsize}")
195
194
  if qsize > download_task_qsize:
196
195
  time.sleep(download_not_task_time)
197
196
  continue
198
- logger.warning(f"1111 ")
199
197
  resp = requests.get(download_url, headers=headers, params=params, timeout=5)
200
198
  json_data = resp.json()
201
- logger.warning(f"json_data {json_data}")
202
-
203
199
  result_list = json_data.get("result", [])
200
+ logger.warning(f"result_list {len(result_list)}")
204
201
  if not result_list or len(result_list) <= 0:
205
202
  # 判断任务响应是否为空
206
203
  download_queue_exist_cnt -= 1
@@ -214,6 +211,7 @@ class GoFunTaskV3:
214
211
  manager_info["gofun_kill_status"] = False
215
212
 
216
213
  for task_item in result_list:
214
+ logger.warning(f"task_item {task_item}")
217
215
  phone_item = task_item["phone"]
218
216
  if not phone_item.isdigit(): # 判断是否全是整数(不包括小数点或负号)
219
217
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xtn-tools-pro
3
- Version: 1.0.0.8.2
3
+ Version: 1.0.0.8.4
4
4
  Summary: xtn 开发工具
5
5
  Author: xtn
6
6
  Author-email: czw011122@gmail.com
@@ -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=QL9ewVDfMcOSDNTlBqeL43RInNyubsi9oir93yrjCxY,18258
15
+ xtn_tools_pro/task_pro/go_fun_v3.py,sha256=RGvNiCyeaC7fTdUiRj0DfYbGP_ldAGhE-72lLPkbG6Q,18202
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.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,,
25
+ xtn_tools_pro-1.0.0.8.4.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ xtn_tools_pro-1.0.0.8.4.dist-info/METADATA,sha256=nCRfVX2CNCmATzYQxKhsHWIShKJN8Llb3r4yEwUaZZk,498
27
+ xtn_tools_pro-1.0.0.8.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
28
+ xtn_tools_pro-1.0.0.8.4.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
29
+ xtn_tools_pro-1.0.0.8.4.dist-info/RECORD,,