Can't open nfl.com website on Heroku but works fine locally #1587
robertr2112
started this conversation in
General
Replies: 1 comment
-
So, I was able to fix these issues. To fix the first problem I needed to add the following to my chrome_options:
And to fix the second problem, I needed to ensure that the version of chrome running was the same as the chromedriver so on heroku I had to add the following command:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a webscraper app that is scraping the game info from NFL.com. I have it working fine on my local debian system but it fails with 2 alternating errors when running it on Heroku. These errors alternate as to which will come up, however the first error listed below is the most common. It appears to me as if I may have a configuration issue, but I'm not familiar enough with Selenium/Webdriver/Undetected-chromedriver to know.
Here is the code I'm running:
And here is the Heroku setup information:
Buildpacks:
Requirements.txt
Here is the first (and most common) error I'm receiving:
Here is the other error I receive(although less frequently):
Beta Was this translation helpful? Give feedback.
All reactions