Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 403 #92

Closed
lanruth opened this issue Oct 1, 2022 · 1 comment
Closed

Error 403 #92

lanruth opened this issue Oct 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@lanruth
Copy link

lanruth commented Oct 1, 2022

Multporn is not accesable directly for me(blocked by ISP) so i am using proxy. With proxy i need to process cloudflare check before access the site otherwise i get error 403 - access is denied.

At this time script does not support to specify cookie.
What should i do to make it work:
method get in RequestHandler class
response = self.session.get( url, timeout=self.timeout, params=params, proxies=getproxies(), **kwargs, cookies={'cf_clearance' : 'some_data'})
cf_clearance i set manually after cloudflare check is done

@pyporn-san
Copy link
Owner

pyporn-san commented Feb 12, 2023

I added the requestsParams so you can provide your custom arguments to the session.get() call. Can you check if this solves your issue?

@pyporn-san pyporn-san reopened this Feb 12, 2023
@pyporn-san pyporn-san added the enhancement New feature or request label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants