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

Best Buy Connection Closed #111

Closed
tn2389 opened this issue Dec 15, 2020 · 2 comments
Closed

Best Buy Connection Closed #111

tn2389 opened this issue Dec 15, 2020 · 2 comments

Comments

@tn2389
Copy link

tn2389 commented Dec 15, 2020

I've recently been receiving a connection aborted request from Best Buy. It's likely that Best Buy is blocking the scrape requests even though I have a fairly lenient timeout. Is there a way to work around this to get Best Buy active again in my rotation? Example error:

[bstby_1] caught exception during request: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

@MRizkBV
Copy link
Contributor

MRizkBV commented Dec 15, 2020

I found the only fix to this is to go to src/scraper/BestBuy.py and edit the file. At the very bottom, change 'requests' to 'selenium'. I hope others have a way to make it work on requests again as selenium is slow and a resource hog.

Of course that means you will have to build your own Docker image till an update is pushed to fix it.

@EricJMarti
Copy link
Owner

I found the only fix to this is to go to src/scraper/BestBuy.py and edit the file. At the very bottom, change 'requests' to 'selenium'. I hope others have a way to make it work on requests again as selenium is slow and a resource hog.

Of course that means you will have to build your own Docker image till an update is pushed to fix it.

This change was committed in: cbd1b17

Best Buy must have changed their site since the requests-based approach was developed.

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

3 participants