Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xewdy444/CF-Clearance-Scraper
/ functions
Functions
17 in github.com/Xewdy444/CF-Clearance-Scraper
⨍
Functions
17
◇
Types & classes
3
↓ 3 callers
Method
extract_clearance_cookie
Extract the Cloudflare clearance cookie from a list of cookies. Parameters ---------- cookies : Iterable[T_JSON_DICT
main.py:235
↓ 3 callers
Method
get_cookies
Get all cookies from the current page. Returns ------- List[T_JSON_DICT] List of cookies.
main.py:269
↓ 2 callers
Method
detect_challenge
Detect the Cloudflare challenge platform on the current page. Returns ------- Optional[ChallengePlatform]
main.py:346
↓ 2 callers
Method
get_user_agent
Get the current user agent string. Returns ------- str The user agent string.
main.py:258
↓ 1 callers
Method
_format_cookies
Format cookies into a list of JSON cookies. Parameters ---------- cookies : Iterable[Cookie] List of coo
main.py:218
↓ 1 callers
Method
from_url
Create a Proxy instance from a proxy URL. Parameters ---------- proxy_url : str The proxy server URL.
main.py:79
↓ 1 callers
Function
get_chrome_user_agent
Get a random up-to-date Chrome user agent string. Returns ------- str The user agent string.
main.py:29
↓ 1 callers
Function
main
()
main.py:400
↓ 1 callers
Method
request_page
Request a page with the browser, setting up handlers for proxy authentication if a proxy is being used. Parameters -
main.py:328
↓ 1 callers
Method
set_user_agent_metadata
Set the user agent metadata for the browser. Parameters ---------- user_agent : str The user agent strin
main.py:280
↓ 1 callers
Method
solve_challenge
Solve the Cloudflare challenge on the current page.
main.py:363
Method
__aenter__
(self)
main.py:170
Method
__aexit__
(self, *_: Any)
main.py:174
Method
__init__
( self, *, user_agent: Optional[str], timeout: float, http2: bool,
main.py:141
Method
_continue_request
Continue a paused request. Parameters ---------- event : RequestPaused The request paused event.
main.py:204
Method
_on_auth_required
Handle authentication requests for the proxy server. Parameters ---------- event : AuthRequired The auth
main.py:177
Method
url
Get the proxy URL without authentication. Returns ------- str The proxy URL.
main.py:104