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

403 error #1

Open
joaovaz opened this issue May 2, 2018 · 4 comments · May be fixed by #3
Open

403 error #1

joaovaz opened this issue May 2, 2018 · 4 comments · May be fixed by #3

Comments

@joaovaz
Copy link

joaovaz commented May 2, 2018

Ey there, thank you for this scraper. UnfortunatelyI was trying trying to use it in the new rarbg site (https://www.rarbg.is), just changed the domain, and it failed, giving a 403 error. Any idea about it? Thanks!
Best
Joao

@evyatarmeged
Copy link
Owner

Hey,
I'll try to look into it in the next few days. Thanks for the heads up.

@evyatarmeged
Copy link
Owner

evyatarmeged commented May 12, 2018

It seems like they have changed the image src... grabbing it (or accessing it via the browser) leads to blank page, making the scraper unable to solve the Captcha.
Any suggestions will be appreciated.

EDIT: It's possible to get the image using Selenium (screenshot of the image coordinates?) but I really can't do that at the moment. Feel free to submit a PR

@evyatarmeged evyatarmeged self-assigned this May 27, 2018
@evyatarmeged evyatarmeged removed their assignment May 27, 2018
@marcofbb
Copy link

marcofbb commented Aug 10, 2018

@evyatarmeged It only lets you make a request to the image, that is, it would have to be saved in the first request and not to make another HTTP request to obtain it.

I will be working on this to see if I can solve it.

I can think of two solutions with Selenium

  • Deactivate that the image is loaded, and then make the only possible request in the get_captcha
  • Get the image from cache without making a new request

@evyatarmeged
Copy link
Owner

@marcofbb awesome, looking forward to your PR 👍

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

Successfully merging a pull request may close this issue.

3 participants