403 error on scrapper but website is accessible on browser #627
Unanswered
nomanilyas16
asked this question in
Q&A
Replies: 1 comment 3 replies
-
It's likely that in your browser you have cookies set by this site (corresponding to the "I agree" button on the public access disclaimer page). Mechanize supports cookies, but when you create a new instance, its cookie jar will be empty (similar to what an incognito browser session has). Your Mechanize agent should probably click through that initial public access disclaimer page, thereby creating the necessary cookie. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to access this website but getting 403 error but the same website is accessible with the browser.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions