Python Forum

Full Version: Scrapping javascript website with Selenium where pages randomly fail to load
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Yes and if you try in different browser that page might load. This page https://www.sazka.cz/kurzove-sazky/fotba...ie-3-liga/ loads everytime but when i use this one then source does not contain data loaded via javascript. But that webpage you tried to load exist and works. I tried now and url you tried to load loaded in Opera but not in Chrome or Firefox. Other url i provided loaded in Firefox and Chrome but not in Opera. I just tested it now. I can even provide a screenshot of that webpage to prove that it does exist. [Image: BBAR40Q]
This just doesn't make any sense.
Do you actually see the html data loaded?
Yes, i could see a html data and inspect them. And data were actual not loaded from some old cookies because those betting odds were changing as they were updated. This is why i am so confused. Both your and mine code works but this random 404 error confuse me. As i said before some urls i try to scrape load everytime and others randomly fail to load in one browser but loads correctly at the same time in another. I do not see any logic behind this too.
Then I can't explain. Perhaps someone else will. Good luck!
Thank you for your time. I appreciate it.
Pages: 1 2