I'm writing a python script using Requests and BeautifulSoup to scrape very select data from oddsportal; I'm only in the early stages, but it's functional on every website I've tried except for oddsportal.
The issue occurs during the HTML grabbing. Regardless of which specific oddsportal page I try to grab, whether it be the homepage or a league page, it returns the same oddsportal error page HTML which contains none of the relevant information, along with "Odds Portal: Page Not Found" and "The page you requested is not available", etc. I can post the entire HTML if necessary, but it really does contain nothing of interest.
I'm wondering if this is due to oddsportal blocking the HTML grab in some way, or whether it's due to javascript or something else that I'm missing. Any insight and/or remedies would be much appreciated.
The issue occurs during the HTML grabbing. Regardless of which specific oddsportal page I try to grab, whether it be the homepage or a league page, it returns the same oddsportal error page HTML which contains none of the relevant information, along with "Odds Portal: Page Not Found" and "The page you requested is not available", etc. I can post the entire HTML if necessary, but it really does contain nothing of interest.
I'm wondering if this is due to oddsportal blocking the HTML grab in some way, or whether it's due to javascript or something else that I'm missing. Any insight and/or remedies would be much appreciated.