qrpa 1.1.12__tar.gz → 1.1.13__tar.gz
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.
Potentially problematic release.
This version of qrpa might be problematic. Click here for more details.
- {qrpa-1.1.12 → qrpa-1.1.13}/PKG-INFO +1 -1
- {qrpa-1.1.12 → qrpa-1.1.13}/pyproject.toml +1 -1
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/shein_ziniao.py +2 -1
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa.egg-info/PKG-INFO +1 -1
- {qrpa-1.1.12 → qrpa-1.1.13}/README.md +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/RateLimitedSender.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/__init__.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/db_migrator.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/feishu_bot_app.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/feishu_client.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/feishu_logic.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/fun_base.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/fun_excel.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/fun_file.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/fun_web.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/fun_win.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/mysql_module/__init__.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/mysql_module/shein_product_model.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/mysql_module/shein_return_order_model.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/shein_daily_report_model.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/shein_excel.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/shein_lib.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/shein_mysql.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/shein_sqlite.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/temu_chrome.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/temu_excel.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/temu_lib.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/time_utils.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/time_utils_example.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa/wxwork.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa.egg-info/SOURCES.txt +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa.egg-info/dependency_links.txt +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/qrpa.egg-info/top_level.txt +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/setup.cfg +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/setup.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/tests/test_db_migrator.py +0 -0
- {qrpa-1.1.12 → qrpa-1.1.13}/tests/test_wxwork.py +0 -0
|
@@ -471,6 +471,7 @@ class ZiniaoRunner:
|
|
|
471
471
|
just_store_username: Optional[List[str]] = None,
|
|
472
472
|
is_skip_store: Optional[Callable] = None,
|
|
473
473
|
platform_name: Optional[str] = "SHEIN-全球",
|
|
474
|
+
threads_num: int = 3,
|
|
474
475
|
):
|
|
475
476
|
"""主执行入口"""
|
|
476
477
|
# 前置执行 if run_prepare:
|
|
@@ -493,7 +494,7 @@ class ZiniaoRunner:
|
|
|
493
494
|
print(browser_list)
|
|
494
495
|
|
|
495
496
|
# 多线程并发执行任务
|
|
496
|
-
max_threads = 1 if (hostname().lower() == 'krrpa' or hostname().lower() == 'jyrpa') else
|
|
497
|
+
max_threads = 1 if (hostname().lower() == 'krrpa' or hostname().lower() == 'jyrpa') else threads_num
|
|
497
498
|
log(f'当前启用线程数: {max_threads}')
|
|
498
499
|
self.task_manager.run_with_thread_pool(browser_list, max_threads, run, task_key, just_store_username, is_skip_store)
|
|
499
500
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|