qrpa 1.0.64__py3-none-any.whl → 1.0.66__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.
Potentially problematic release.
This version of qrpa might be problematic. Click here for more details.
- qrpa/shein_lib.py +5 -2
- qrpa/temu_excel.py +1 -1
- {qrpa-1.0.64.dist-info → qrpa-1.0.66.dist-info}/METADATA +1 -1
- {qrpa-1.0.64.dist-info → qrpa-1.0.66.dist-info}/RECORD +6 -6
- {qrpa-1.0.64.dist-info → qrpa-1.0.66.dist-info}/WHEEL +0 -0
- {qrpa-1.0.64.dist-info → qrpa-1.0.66.dist-info}/top_level.txt +0 -0
qrpa/shein_lib.py
CHANGED
|
@@ -48,7 +48,7 @@ class SheinLib:
|
|
|
48
48
|
|
|
49
49
|
if web_page.locator('xpath=//div[@id="container" and @alita-name="gmpsso"]//button[@type="button" and @id]').nth(0).is_visible():
|
|
50
50
|
if 'https://sso.geiwohuo.com/#/home' not in web_page.url:
|
|
51
|
-
log("鉴权确定按钮可见 点击'确定'按钮", self.store_username, self.store_name)
|
|
51
|
+
log("鉴权确定按钮可见 点击'确定'按钮", web_page.title(), web_page.url, self.store_username, self.store_name)
|
|
52
52
|
web_page.locator('xpath=//div[@id="container" and @alita-name="gmpsso"]//button[@type="button" and @id]').nth(0).click()
|
|
53
53
|
web_page.wait_for_load_state("load")
|
|
54
54
|
web_page.wait_for_timeout(1000)
|
|
@@ -91,6 +91,10 @@ class SheinLib:
|
|
|
91
91
|
return
|
|
92
92
|
|
|
93
93
|
log('商家后台不可见', web_page.title(), web_page.url, self.store_username, self.store_name)
|
|
94
|
+
if 'https://sso.geiwohuo.com/#/home' in web_page.url:
|
|
95
|
+
web_page.wait_for_timeout(3000)
|
|
96
|
+
web_page.reload()
|
|
97
|
+
web_page.wait_for_load_state("load")
|
|
94
98
|
|
|
95
99
|
while r'=/CN' in web_page.url:
|
|
96
100
|
web_page.goto('https://sso.geiwohuo.com')
|
|
@@ -105,7 +109,6 @@ class SheinLib:
|
|
|
105
109
|
log('再延时5秒', self.store_username, self.store_name)
|
|
106
110
|
web_page.wait_for_timeout(5000)
|
|
107
111
|
|
|
108
|
-
web_page.wait_for_load_state("load")
|
|
109
112
|
web_page.wait_for_timeout(1000)
|
|
110
113
|
|
|
111
114
|
if 'https://sso.geiwohuo.com/#/home' in web_page.url:
|
qrpa/temu_excel.py
CHANGED
|
@@ -107,7 +107,7 @@ class TemuExcel:
|
|
|
107
107
|
excel_data = sort_by_column(excel_data, 6, 1)
|
|
108
108
|
|
|
109
109
|
# 计算需要多少个文件(每个文件最多320行数据,包含表头)
|
|
110
|
-
max_data_rows =
|
|
110
|
+
max_data_rows = 250 - 1 # 减去表头行
|
|
111
111
|
total_files = (len(excel_data) + max_data_rows - 1) // max_data_rows # 通过加(max_data_rows-1)实现向上取整
|
|
112
112
|
|
|
113
113
|
for file_index in range(total_files):
|
|
@@ -11,19 +11,19 @@ qrpa/fun_web.py,sha256=F6cxwwOxB8twg2XK73oAvKla0FqpwDYJiM37CWmFwXo,6322
|
|
|
11
11
|
qrpa/fun_win.py,sha256=-LnTeocdTt72NVH6VgLdpAT9_C5oV9okeudXG6CftMA,8034
|
|
12
12
|
qrpa/shein_daily_report_model.py,sha256=H8oZmIN5Pyqe306W1_xuz87lOqLQ_LI5RjXbaxDkIzE,12589
|
|
13
13
|
qrpa/shein_excel.py,sha256=vtmeEF_LbH6cVyitDDCNjuT76Nuov6Zvhsf-gIMd0H0,124780
|
|
14
|
-
qrpa/shein_lib.py,sha256=
|
|
14
|
+
qrpa/shein_lib.py,sha256=j77mz_ImVOxtXAQOOibyUiq_4golmPqP7D_WYKfG7E8,122338
|
|
15
15
|
qrpa/shein_mysql.py,sha256=MGPJsz13evsLygZWhmitpPzUswiTKZ91VFvr8KA0M40,750
|
|
16
16
|
qrpa/shein_sqlite.py,sha256=ZQwD0Gz81q9WY7tY2HMEYvSF9r3N_G_Aur3bYfST9WY,5707
|
|
17
17
|
qrpa/shein_ziniao.py,sha256=kAOirjawPf-VxBxHFNpdDHCN2zL-O1U-2xybpmt34Xs,18692
|
|
18
18
|
qrpa/temu_chrome.py,sha256=CbtFy1QPan9xJdJcNZj-EsVGhUvv3ZTEPVDEA4-im40,2803
|
|
19
|
-
qrpa/temu_excel.py,sha256=
|
|
19
|
+
qrpa/temu_excel.py,sha256=2hGw76YWzkTZGyFCuuUAab4oHptYX9a6U6yjpNsL7FE,6990
|
|
20
20
|
qrpa/temu_lib.py,sha256=hYB59zsLS3m3NTic_duTwPMOTSxlHyQVa8OhHnHm-1g,7199
|
|
21
21
|
qrpa/time_utils.py,sha256=ef0hhbN_6b-gcnz5ETIVOoxemIMvcxGVGGIRnHnGaBo,29564
|
|
22
22
|
qrpa/time_utils_example.py,sha256=shHOXKKF3QSzb0SHsNc34M61wEkkLuM30U9X1THKNS8,8053
|
|
23
23
|
qrpa/wxwork.py,sha256=gIytG19DZ5g7Tsl0-W3EbjfSnpIqZw-ua24gcB78YEg,11264
|
|
24
24
|
qrpa/mysql_module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
qrpa/mysql_module/shein_return_order_model.py,sha256=Zt-bGOH_kCDbakW7uaTmqqo_qTT8v424yidcYSfWvWM,26562
|
|
26
|
-
qrpa-1.0.
|
|
27
|
-
qrpa-1.0.
|
|
28
|
-
qrpa-1.0.
|
|
29
|
-
qrpa-1.0.
|
|
26
|
+
qrpa-1.0.66.dist-info/METADATA,sha256=lY0GLxRmJagu_OgNkZPVsJl8UuTS586Q_Ds4sreo0fc,231
|
|
27
|
+
qrpa-1.0.66.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
+
qrpa-1.0.66.dist-info/top_level.txt,sha256=F6T5igi0fhXDucPPUbmmSC0qFCDEsH5eVijfVF48OFU,5
|
|
29
|
+
qrpa-1.0.66.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|