fix(shell): add missing parameters to the shell signature
This commit is contained in:
@@ -2,6 +2,7 @@ from scrapling.core._types import (
|
|||||||
Any,
|
Any,
|
||||||
Dict,
|
Dict,
|
||||||
List,
|
List,
|
||||||
|
Set,
|
||||||
Tuple,
|
Tuple,
|
||||||
Sequence,
|
Sequence,
|
||||||
Callable,
|
Callable,
|
||||||
@@ -58,7 +59,12 @@ _FETCH_PARAMS = {
|
|||||||
"cdp_url": Optional[str],
|
"cdp_url": Optional[str],
|
||||||
"useragent": Optional[str],
|
"useragent": Optional[str],
|
||||||
"extra_flags": Optional[List[str]],
|
"extra_flags": Optional[List[str]],
|
||||||
|
"blocked_domains": Optional[Set[str]],
|
||||||
"block_ads": bool,
|
"block_ads": bool,
|
||||||
|
"retries": int,
|
||||||
|
"retry_delay": int | float,
|
||||||
|
"capture_xhr": str | None,
|
||||||
|
"executable_path": Optional[str],
|
||||||
}
|
}
|
||||||
|
|
||||||
_STEALTHY_FETCH_PARAMS = {
|
_STEALTHY_FETCH_PARAMS = {
|
||||||
@@ -85,7 +91,12 @@ _STEALTHY_FETCH_PARAMS = {
|
|||||||
"cdp_url": Optional[str],
|
"cdp_url": Optional[str],
|
||||||
"useragent": Optional[str],
|
"useragent": Optional[str],
|
||||||
"extra_flags": Optional[List[str]],
|
"extra_flags": Optional[List[str]],
|
||||||
|
"blocked_domains": Optional[Set[str]],
|
||||||
"block_ads": bool,
|
"block_ads": bool,
|
||||||
|
"retries": int,
|
||||||
|
"retry_delay": int | float,
|
||||||
|
"capture_xhr": str | None,
|
||||||
|
"executable_path": Optional[str],
|
||||||
"allow_webgl": bool,
|
"allow_webgl": bool,
|
||||||
"hide_canvas": bool,
|
"hide_canvas": bool,
|
||||||
"block_webrtc": bool,
|
"block_webrtc": bool,
|
||||||
|
|||||||
Reference in New Issue
Block a user