qrpa 1.1.10__py3-none-any.whl → 1.1.11__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
CHANGED
|
@@ -3102,7 +3102,7 @@ class SheinLib:
|
|
|
3102
3102
|
page_size = 200 # 列表最多返回200条数据 大了没有用
|
|
3103
3103
|
|
|
3104
3104
|
cache_file = f'{self.config.auto_dir}/shein/cache/check_order_{first_day}_{last_day}.json'
|
|
3105
|
-
|
|
3105
|
+
list_item_cache = read_dict_from_file_ex(cache_file, self.store_username)
|
|
3106
3106
|
|
|
3107
3107
|
url = f"https://sso.geiwohuo.com/gsfs/finance/reportOrder/dualMode/checkOrderList/item/union"
|
|
3108
3108
|
payload = {
|
|
@@ -3119,9 +3119,9 @@ class SheinLib:
|
|
|
3119
3119
|
total = response_text['info']['meta']['count']
|
|
3120
3120
|
totalPage = math.ceil(total / page_size)
|
|
3121
3121
|
|
|
3122
|
-
if int(total) == len(
|
|
3122
|
+
if int(total) == len(list_item_cache):
|
|
3123
3123
|
log('总数与缓存数量相同 跳过剩余页抓取', total)
|
|
3124
|
-
return
|
|
3124
|
+
return list_item_cache
|
|
3125
3125
|
|
|
3126
3126
|
for page in range(2, totalPage + 1):
|
|
3127
3127
|
log(f'获取收支明细列表 第{page}/{totalPage}页')
|
|
@@ -11,7 +11,7 @@ qrpa/fun_web.py,sha256=2aYrtRlf-p-P6AyjrlIcmMVq8oSDePEY48YLm4ZRS1A,11857
|
|
|
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=8TYZt45BZ9e6oM2Z1G48SzUWrGpSI4Q5vBxvGm8433U,147408
|
|
14
|
-
qrpa/shein_lib.py,sha256=
|
|
14
|
+
qrpa/shein_lib.py,sha256=Na7a3WTfcbLFUYmsyPLNbwfWCqSGAPMO82Qnx9_RtAo,146101
|
|
15
15
|
qrpa/shein_mysql.py,sha256=Sgz6U0_3f4cT5zPf1Ht1OjvSFhrVPLkMxt91NV-ZPCM,3005
|
|
16
16
|
qrpa/shein_sqlite.py,sha256=ZQwD0Gz81q9WY7tY2HMEYvSF9r3N_G_Aur3bYfST9WY,5707
|
|
17
17
|
qrpa/shein_ziniao.py,sha256=LSjnzGm_K6rWJX5SGhcd3J_VXVRlwL2xQXe5TDpWuBU,21727
|
|
@@ -24,7 +24,7 @@ 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_product_model.py,sha256=v21_juWsZqTHj2k08GUGNkoRZ4hkKZKjaE-wmRl2a2k,19257
|
|
26
26
|
qrpa/mysql_module/shein_return_order_model.py,sha256=Zt-bGOH_kCDbakW7uaTmqqo_qTT8v424yidcYSfWvWM,26562
|
|
27
|
-
qrpa-1.1.
|
|
28
|
-
qrpa-1.1.
|
|
29
|
-
qrpa-1.1.
|
|
30
|
-
qrpa-1.1.
|
|
27
|
+
qrpa-1.1.11.dist-info/METADATA,sha256=hYkwElRCZGxhrqqltdKvN-38HLADWaROGumjbeN0Rq4,231
|
|
28
|
+
qrpa-1.1.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
29
|
+
qrpa-1.1.11.dist-info/top_level.txt,sha256=F6T5igi0fhXDucPPUbmmSC0qFCDEsH5eVijfVF48OFU,5
|
|
30
|
+
qrpa-1.1.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|