vchrome 0.1.12__py3-none-any.whl → 0.1.13__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 +3 -1
- {vchrome-0.1.12.dist-info → vchrome-0.1.13.dist-info}/METADATA +1 -1
- vchrome-0.1.13.dist-info/RECORD +6 -0
- vchrome-0.1.12.dist-info/RECORD +0 -6
- {vchrome-0.1.12.dist-info → vchrome-0.1.13.dist-info}/WHEEL +0 -0
- {vchrome-0.1.12.dist-info → vchrome-0.1.13.dist-info}/top_level.txt +0 -0
vchrome/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = '0.1.
|
|
1
|
+
__version__ = '0.1.13'
|
|
2
2
|
__author__ = 'v'
|
|
3
3
|
# ----------------------------------------------------------------------------------------------------
|
|
4
4
|
_allowed = {'Chrome'}
|
|
@@ -797,6 +797,8 @@ def cdp_client(hostname, port, debug=False, runtimeEnable=False, cfg={}):
|
|
|
797
797
|
waiter, on_request, on_response = self.call_change[k]
|
|
798
798
|
if on_response:
|
|
799
799
|
body_info = self.f.cdp("Fetch.getResponseBody", {"requestId": requestId}, sessionId=rdata.get('sessionId'))
|
|
800
|
+
if 'base64Encoded' not in body_info:
|
|
801
|
+
break
|
|
800
802
|
body = base64.b64decode(body_info["body"]) if body_info['base64Encoded'] else body_info["body"].encode()
|
|
801
803
|
x = SniffFetch.FetchResponse({
|
|
802
804
|
"url": url,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
v/__init__.py,sha256=6ZddLaDcwLudHWmFr2utAcYhperXw9AYoItNPm8EZSM,65
|
|
2
|
+
vchrome/__init__.py,sha256=573YdmXm9CHnE0IXbGV8_OhzMX9CV1TQRHB1heDFkyk,229113
|
|
3
|
+
vchrome-0.1.13.dist-info/METADATA,sha256=TK9eZNxl2LcjYmPO-VyjXuhw7xAFTom4XTDzgK1HxDo,57
|
|
4
|
+
vchrome-0.1.13.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
|
|
5
|
+
vchrome-0.1.13.dist-info/top_level.txt,sha256=IYbkbnFb2FGoroYj_ZXIitmnJDgYBA29_HmK9BdEUkY,10
|
|
6
|
+
vchrome-0.1.13.dist-info/RECORD,,
|
vchrome-0.1.12.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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,,
|
|
File without changes
|
|
File without changes
|