You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed issues with the initial scrape failing, and then if it still fails, it passes the url to a webdriver, which attempts to mimic normal user behavior to get past bot detection.
Works about 90% of the time now. The slower it goes, the better it works. Which brings me to the TODO list:
Throttle requests - checking the database for previous failed attempts and creating a batch of re-scrapes with a rate limit of 30-60 sec between requests
Refactor to classes - make the code a little more readable and user-friendly for code improvements later
Placeholders - sometimes we can't get a description or an image, so instead of leaving them blank, create a placeholder
PDFs - I know there's a pdf scraper being developed, too. That will just need to be added when it's done.
Also, this is my first contribution on a public project ever, so any pointers/feedback are welcome!
Original thread - Link
Fixed issues with the initial scrape failing, and then if it still fails, it passes the url to a webdriver, which attempts to mimic normal user behavior to get past bot detection.
Repo: Link
Works about 90% of the time now. The slower it goes, the better it works. Which brings me to the TODO list:
Also, this is my first contribution on a public project ever, so any pointers/feedback are welcome!