vchrome 0.0.8__py3-none-any.whl → 0.0.9__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 +5 -1
- {vchrome-0.0.8.dist-info → vchrome-0.0.9.dist-info}/METADATA +1 -1
- vchrome-0.0.9.dist-info/RECORD +5 -0
- vchrome-0.0.8.dist-info/RECORD +0 -5
- {vchrome-0.0.8.dist-info → vchrome-0.0.9.dist-info}/WHEEL +0 -0
- {vchrome-0.0.8.dist-info → vchrome-0.0.9.dist-info}/top_level.txt +0 -0
vchrome/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = '0.0.
|
|
1
|
+
__version__ = '0.0.9'
|
|
2
2
|
__author__ = 'v'
|
|
3
3
|
# ----------------------------------------------------------------------------------------------------
|
|
4
4
|
_allowed = {'Chrome'}
|
|
@@ -2528,6 +2528,7 @@ class Chrome:
|
|
|
2528
2528
|
arguments = [],
|
|
2529
2529
|
proxy = None,
|
|
2530
2530
|
extension = None,
|
|
2531
|
+
verify = True,
|
|
2531
2532
|
):
|
|
2532
2533
|
self.debug = Debug(debug)
|
|
2533
2534
|
self.path = find_chrome(path)
|
|
@@ -2538,6 +2539,7 @@ class Chrome:
|
|
|
2538
2539
|
self.arguments = arguments
|
|
2539
2540
|
self.proxy = proxy
|
|
2540
2541
|
self.extension = extension
|
|
2542
|
+
self.verify = verify
|
|
2541
2543
|
self._user_cmd = self._make_user_cmd()
|
|
2542
2544
|
if not self.path:
|
|
2543
2545
|
raise Exception('chrome path not find.')
|
|
@@ -2568,6 +2570,8 @@ class Chrome:
|
|
|
2568
2570
|
return i, s
|
|
2569
2571
|
def _make_user_cmd(self):
|
|
2570
2572
|
_user_cmd = self.arguments
|
|
2573
|
+
if not self.verify:
|
|
2574
|
+
_user_cmd.append('--ignore-certificate-errors')
|
|
2571
2575
|
if self.headless and not self._cmd_check_in(_user_cmd, '--headless'):
|
|
2572
2576
|
# TODO
|
|
2573
2577
|
# think about CDP:Input Event compatible.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
vchrome/__init__.py,sha256=ZZA0gzfEZgxb36P3InEHzgGtL0DiP9B0Myan-yhb8sA,210238
|
|
2
|
+
vchrome-0.0.9.dist-info/METADATA,sha256=gAAL6cfLFmuhSObZ_h77v1dawlicJQia_TeH2LPocsQ,54
|
|
3
|
+
vchrome-0.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
+
vchrome-0.0.9.dist-info/top_level.txt,sha256=oB919Fa09PCy48Ptj8iy-1QUcvhEeY97MOR42281Fk0,8
|
|
5
|
+
vchrome-0.0.9.dist-info/RECORD,,
|
vchrome-0.0.8.dist-info/RECORD
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
vchrome/__init__.py,sha256=54rvOagRIZrrCOF7LrudzF85S8pzgAEZIsVq-bbpQMM,210094
|
|
2
|
-
vchrome-0.0.8.dist-info/METADATA,sha256=tKmwbpzUM3M5bQZJ0biHSgcoChSI49lVRZ2Z9z0PLjk,54
|
|
3
|
-
vchrome-0.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
-
vchrome-0.0.8.dist-info/top_level.txt,sha256=oB919Fa09PCy48Ptj8iy-1QUcvhEeY97MOR42281Fk0,8
|
|
5
|
-
vchrome-0.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|