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

cant bypass cloudflare #32

Open
zYxDevs opened this issue Oct 17, 2023 · 6 comments
Open

cant bypass cloudflare #32

zYxDevs opened this issue Oct 17, 2023 · 6 comments

Comments

@zYxDevs
Copy link

zYxDevs commented Oct 17, 2023

I've installing chromium with snap, set cookies and user agent, but still got http error 403 when try npm run test:cf.

Can you please make details step by step to install chrome/chromium or firefox and set cookies.

  • OS: Ubuntu 20.04
  • Node version 18.17.0
@sinkaroid
Copy link
Owner

Is the cookie correct from Request Headers, not the Response Headers?
Here the example https://github.com/sinkaroid/jandapress/blob/master/README.md#the-solution-1
Screenshot_267_copy

@sinkaroid
Copy link
Owner

You running firefox with remote gui on ubuntu or what

@zYxDevs
Copy link
Author

zYxDevs commented Oct 19, 2023

You running firefox with remote gui on ubuntu or what

i didnt use ubuntu gui. im installing chromium with snap (tutorial from google)

please make tutorial if you can

@zYxDevs
Copy link
Author

zYxDevs commented Oct 19, 2023

Is the cookie correct from Request Headers, not the Response Headers? Here the example https://github.com/sinkaroid/jandapress/blob/master/README.md#the-solution-1 Screenshot_267_copy

yes i use cookie from request headers (default UA)
Screenshot_20231019-175506_Kiwi Browser

@sinkaroid
Copy link
Owner

Inspect > Network Conditions > Uncheck browser default and set jandapress/1.0.6 Node.js/16.9.1 here

Screenshot_133
Screenshot_134

Also could u screenshot the .env too

@zYxDevs
Copy link
Author

zYxDevs commented Jan 2, 2024

Inspect > Network Conditions > Uncheck browser default and set jandapress/1.0.6 Node.js/16.9.1 here

Screenshot_133 Screenshot_134

Also could u screenshot the .env too

ive successfully deployed and nhentai api is working fine. but cookie can expired and need manually update it. can you make cookie updated automatically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants