MCPcopy Create free account

hub / github.com/Xewdy444/CF-Clearance-Scraper / functions

Functions17 in github.com/Xewdy444/CF-Clearance-Scraper

↓ 3 callersMethodextract_clearance_cookie
Extract the Cloudflare clearance cookie from a list of cookies. Parameters ---------- cookies : Iterable[T_JSON_DICT
main.py:235
↓ 3 callersMethodget_cookies
Get all cookies from the current page. Returns ------- List[T_JSON_DICT] List of cookies.
main.py:269
↓ 2 callersMethoddetect_challenge
Detect the Cloudflare challenge platform on the current page. Returns ------- Optional[ChallengePlatform]
main.py:346
↓ 2 callersMethodget_user_agent
Get the current user agent string. Returns ------- str The user agent string.
main.py:258
↓ 1 callersMethod_format_cookies
Format cookies into a list of JSON cookies. Parameters ---------- cookies : Iterable[Cookie] List of coo
main.py:218
↓ 1 callersMethodfrom_url
Create a Proxy instance from a proxy URL. Parameters ---------- proxy_url : str The proxy server URL.
main.py:79
↓ 1 callersFunctionget_chrome_user_agent
Get a random up-to-date Chrome user agent string. Returns ------- str The user agent string.
main.py:29
↓ 1 callersFunctionmain
()
main.py:400
↓ 1 callersMethodrequest_page
Request a page with the browser, setting up handlers for proxy authentication if a proxy is being used. Parameters -
main.py:328
↓ 1 callersMethodset_user_agent_metadata
Set the user agent metadata for the browser. Parameters ---------- user_agent : str The user agent strin
main.py:280
↓ 1 callersMethodsolve_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
Methodurl
Get the proxy URL without authentication. Returns ------- str The proxy URL.
main.py:104