yuehua-ziniao-webdriver 0.1.3__py3-none-any.whl → 0.1.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.
- yuehua_ziniao_webdriver/__init__.py +1 -1
- yuehua_ziniao_webdriver/store.py +12 -0
- {yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/METADATA +1 -1
- {yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/RECORD +7 -7
- {yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/WHEEL +0 -0
- {yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/top_level.txt +0 -0
yuehua_ziniao_webdriver/store.py
CHANGED
|
@@ -226,6 +226,18 @@ class StoreManager:
|
|
|
226
226
|
close_callback=lambda sid: self.close_store(sid)
|
|
227
227
|
)
|
|
228
228
|
|
|
229
|
+
# 打开店铺后先做 IP 检测再打开店铺平台主页
|
|
230
|
+
if ip_check_url:
|
|
231
|
+
ip_ok = session.check_ip()
|
|
232
|
+
if not ip_ok:
|
|
233
|
+
logger.warning("IP 检测未通过,仍将打开启动页")
|
|
234
|
+
else:
|
|
235
|
+
logger.warning("ipDetectionPage 为空,请升级紫鸟浏览器到最新版,跳过 IP 检测")
|
|
236
|
+
if launcher_page:
|
|
237
|
+
session.open_launcher_page()
|
|
238
|
+
else:
|
|
239
|
+
logger.warning("launcherPage 为空,无法打开店铺平台主页")
|
|
240
|
+
|
|
229
241
|
return session
|
|
230
242
|
|
|
231
243
|
else:
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
yuehua_ziniao_webdriver/__init__.py,sha256=
|
|
1
|
+
yuehua_ziniao_webdriver/__init__.py,sha256=CK8lHb3enAmz43Aut2Ei2PXCMmLB5tbRkaMV3zGvL_k,3757
|
|
2
2
|
yuehua_ziniao_webdriver/browser.py,sha256=DzXw86FkyletLkyS9cLHw0znJ4RuTpNqdAB50VG6M5w,7774
|
|
3
3
|
yuehua_ziniao_webdriver/client.py,sha256=MbIx5Du3HZDuNqhL5vlObX4Z4oMSqSD5yFmVfbjsAa0,12911
|
|
4
4
|
yuehua_ziniao_webdriver/config.py,sha256=BDR2ow1-a64mEkhMZPFe5yFhNHwMD4xA96LOL_4F0jg,8760
|
|
5
5
|
yuehua_ziniao_webdriver/exceptions.py,sha256=VrjDtSGaLM0SzCJZsscWzoa3b7rrBdzTLvAOGoq2rp0,5943
|
|
6
6
|
yuehua_ziniao_webdriver/http_client.py,sha256=jYCU29G4B2bof6KunsnUcf04ZBBkNKTt3jFBKfgDPBM,7476
|
|
7
7
|
yuehua_ziniao_webdriver/process.py,sha256=jfbzJuI6DogQO24TmbjMPfFpIKMhFBkEpu8JMsnzsMk,7847
|
|
8
|
-
yuehua_ziniao_webdriver/store.py,sha256=
|
|
8
|
+
yuehua_ziniao_webdriver/store.py,sha256=ouwXrhhfNeibb2c9UKJqtbQvdIx4OFaIfWfoi53X1Ts,14553
|
|
9
9
|
yuehua_ziniao_webdriver/types.py,sha256=CsoTY8U7tp9g8dietiVSqMng9gcAVn3hBJD1U-Y2rzc,5429
|
|
10
10
|
yuehua_ziniao_webdriver/utils.py,sha256=Zh3vx66RK-eYizSouNjz7__L5LeYuBGGbEWAk71evHs,8601
|
|
11
|
-
yuehua_ziniao_webdriver-0.1.
|
|
12
|
-
yuehua_ziniao_webdriver-0.1.
|
|
13
|
-
yuehua_ziniao_webdriver-0.1.
|
|
14
|
-
yuehua_ziniao_webdriver-0.1.
|
|
15
|
-
yuehua_ziniao_webdriver-0.1.
|
|
11
|
+
yuehua_ziniao_webdriver-0.1.4.dist-info/licenses/LICENSE,sha256=24xAK38EuYb8_sQtFg8i22yGRjjY6Gb_4zO1XF3ix5A,1063
|
|
12
|
+
yuehua_ziniao_webdriver-0.1.4.dist-info/METADATA,sha256=9On5uYCAKJVoo0HOKbugoZ11qEzBCho4NSQJMhfqQPs,11556
|
|
13
|
+
yuehua_ziniao_webdriver-0.1.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
14
|
+
yuehua_ziniao_webdriver-0.1.4.dist-info/top_level.txt,sha256=bzRolXKa_ludi3DHGrMzEt_9WZZQCqlRmAt9sKHHTTY,24
|
|
15
|
+
yuehua_ziniao_webdriver-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
{yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{yuehua_ziniao_webdriver-0.1.3.dist-info → yuehua_ziniao_webdriver-0.1.4.dist-info}/top_level.txt
RENAMED
|
File without changes
|