vchrome 0.1.11__py3-none-any.whl → 0.1.12__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.
- vchrome/__init__.py +2 -2
- {vchrome-0.1.11.dist-info → vchrome-0.1.12.dist-info}/METADATA +1 -1
- vchrome-0.1.12.dist-info/RECORD +6 -0
- vchrome-0.1.11.dist-info/RECORD +0 -6
- {vchrome-0.1.11.dist-info → vchrome-0.1.12.dist-info}/WHEEL +0 -0
- {vchrome-0.1.11.dist-info → vchrome-0.1.12.dist-info}/top_level.txt +0 -0
vchrome/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = '0.1.
|
|
1
|
+
__version__ = '0.1.12'
|
|
2
2
|
__author__ = 'v'
|
|
3
3
|
# ----------------------------------------------------------------------------------------------------
|
|
4
4
|
_allowed = {'Chrome'}
|
|
@@ -786,7 +786,7 @@ def cdp_client(hostname, port, debug=False, runtimeEnable=False, cfg={}):
|
|
|
786
786
|
# request: Redirect.
|
|
787
787
|
if 'responseHeaders' in rdata['params'] and type(rdata['params']['responseHeaders']) == list:
|
|
788
788
|
for kv in rdata['params']['responseHeaders']:
|
|
789
|
-
if kv['name'] == '
|
|
789
|
+
if kv['name'].lower() == 'location':
|
|
790
790
|
return self.f.cdp('Fetch.continueRequest', {'requestId': requestId, 'url':kv['value']}, sessionId=rdata.get('sessionId'))
|
|
791
791
|
# request: fail Request.
|
|
792
792
|
if 'responseErrorReason' in rdata['params']:
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
v/__init__.py,sha256=6ZddLaDcwLudHWmFr2utAcYhperXw9AYoItNPm8EZSM,65
|
|
2
|
+
vchrome/__init__.py,sha256=27Y1v2rB9x7tuaF-1-WTuyiZUkBW71sSyYuZI8QmgQQ,229008
|
|
3
|
+
vchrome-0.1.12.dist-info/METADATA,sha256=de-4TcK_FMfYKNfmoUm1JNkrdv0TO6SKbv3oDEMm_ho,57
|
|
4
|
+
vchrome-0.1.12.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
|
|
5
|
+
vchrome-0.1.12.dist-info/top_level.txt,sha256=IYbkbnFb2FGoroYj_ZXIitmnJDgYBA29_HmK9BdEUkY,10
|
|
6
|
+
vchrome-0.1.12.dist-info/RECORD,,
|
vchrome-0.1.11.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
v/__init__.py,sha256=6ZddLaDcwLudHWmFr2utAcYhperXw9AYoItNPm8EZSM,65
|
|
2
|
-
vchrome/__init__.py,sha256=9LYqVSuZahcPySY1fQZseDU8bR2gYVFlpm7GkZiJjrM,229000
|
|
3
|
-
vchrome-0.1.11.dist-info/METADATA,sha256=xrfKhZxjyhM4rF6QQDkl4t_LTKPwvIMEr7I8MPexovQ,57
|
|
4
|
-
vchrome-0.1.11.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
|
|
5
|
-
vchrome-0.1.11.dist-info/top_level.txt,sha256=IYbkbnFb2FGoroYj_ZXIitmnJDgYBA29_HmK9BdEUkY,10
|
|
6
|
-
vchrome-0.1.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|