xtn-tools-pro 1.0.1.4.2__py3-none-any.whl → 1.0.1.4.5__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.
@@ -41,15 +41,19 @@ class GoFunTaskV4:
41
41
  download_task_qsize = ini_dict.get('download_task_qsize', 10) # 触发下载任务队列的最低阈值(当下载队列小于等于x时就立刻请求下载任务接口获取任务),默认10个
42
42
  download_task_qsize = 10 if download_task_qsize < 0 else download_task_qsize # 触发下载任务队列的最低阈值(当下载队列小于等于x时就立刻请求下载任务接口获取任务),默认10个
43
43
 
44
+ if not task_type:
45
+ logger.critical(f"taskType:{task_type} 为空")
46
+ return
47
+
44
48
  # 默认进程数和线程数
45
49
  processes_num = 1 if processes_num <= 0 else processes_num
46
50
  thread_num = 1 if thread_num <= 0 else thread_num
47
51
 
48
52
  # 拼接地址
49
53
  if port:
50
- task_host = f"http://{host}:{port}"
54
+ task_host = f"https://{host}:{port}"
51
55
  else:
52
- task_host = f"http://{host}"
56
+ task_host = f"https://{host}"
53
57
  download_url = task_host + "/filter/phone/get"
54
58
  upload_url = task_host + "/filter/phone/update"
55
59
  update_proxy_url = task_host + f"/filter/proxy/random/get?taskType={task_type}&limit=1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xtn-tools-pro
3
- Version: 1.0.1.4.2
3
+ Version: 1.0.1.4.5
4
4
  Summary: xtn 开发工具
5
5
  Author: xtn
6
6
  Author-email: czw011122@gmail.com
@@ -55,7 +55,7 @@ xtn_tools_pro/task_pro/go_fun.py,sha256=hWEt2uJ9FCvJH7PhVZttS-11A7J6zbRKwX7c5YLY
55
55
  xtn_tools_pro/task_pro/go_fun_air_v1.py,sha256=25gHmW5aAV6nMY9Y6-wD7uQ_wqE39dr-eaegqVbYKM8,11035
56
56
  xtn_tools_pro/task_pro/go_fun_v2.py,sha256=SgcXgtEBGSVL1V2LyqO0z8Md2H8JZxucYrLLIwqtiLM,18489
57
57
  xtn_tools_pro/task_pro/go_fun_v3.py,sha256=GI1OVup-izwDflAaoy_pN6xmCXat59II7v-MooOtDms,20862
58
- xtn_tools_pro/task_pro/go_fun_v4.py,sha256=C-dKOJxc9UBOros9C2_vPlpM6-D4UgMNBb-okdWA2rM,21213
58
+ xtn_tools_pro/task_pro/go_fun_v4.py,sha256=FvLN5zZohkzAzzVNAR0enwcyZ2aFntWPunqoK8nChl4,21325
59
59
  xtn_tools_pro/utils/__init__.py,sha256=I1_n_NP23F2lBqlF4EOlnOdLYxM8M4pbn63UhJN1hRE,418
60
60
  xtn_tools_pro/utils/audio_video.py,sha256=3Im3tGOW6IbmqDcrE1SJUg6eGyLGEyq11Qu6TCutJJw,1115
61
61
  xtn_tools_pro/utils/crypto.py,sha256=B6NC2yVxtwrbSZnngudTFRm7YRGKKEusydVVYWwxFHs,5231
@@ -70,9 +70,9 @@ xtn_tools_pro/utils/shell.py,sha256=s6sJedxLLQokcI1hF5YSD3qgGUPK0brNcP-D3-yv54I,
70
70
  xtn_tools_pro/utils/sql.py,sha256=EAKzbkZP7Q09j15Gm6o0_uq0qgQmcCQT6EAawbpp4v0,6263
71
71
  xtn_tools_pro/utils/time_utils.py,sha256=TUtzG61PeVYXhaQd6pBrXAdlz7tBispNIRQRcGhE2No,4859
72
72
  xtn_tools_pro/utils/win.py,sha256=D5_58WMKOGe9ZwJuJr2JGAWmVISwMOZUx4t7wXUCviU,3512
73
- xtn_tools_pro-1.0.1.4.2.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
- xtn_tools_pro-1.0.1.4.2.dist-info/METADATA,sha256=M3YIOSX4zR6SIu7_kiSuKjhXFVZMp-VRnby2ky3r-mo,597
75
- xtn_tools_pro-1.0.1.4.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
76
- xtn_tools_pro-1.0.1.4.2.dist-info/entry_points.txt,sha256=t8CtXWOgw7nRDW3XNlZh8MT_P4l8EzsFnyWi5b3ovrc,68
77
- xtn_tools_pro-1.0.1.4.2.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
78
- xtn_tools_pro-1.0.1.4.2.dist-info/RECORD,,
73
+ xtn_tools_pro-1.0.1.4.5.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
+ xtn_tools_pro-1.0.1.4.5.dist-info/METADATA,sha256=3GYOF046qBtCVix5x_kFdUVRqEWRUF0gtk9-3c6MaNg,597
75
+ xtn_tools_pro-1.0.1.4.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
76
+ xtn_tools_pro-1.0.1.4.5.dist-info/entry_points.txt,sha256=t8CtXWOgw7nRDW3XNlZh8MT_P4l8EzsFnyWi5b3ovrc,68
77
+ xtn_tools_pro-1.0.1.4.5.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
78
+ xtn_tools_pro-1.0.1.4.5.dist-info/RECORD,,