Skip to content

Scraping now fails - has oddsportal site changed? #30

@philbywalsh

Description

@philbywalsh

I've re-run some commands usingFinalScraper.py which now fail, despite these same commands completeing successfully in December

This is the error I get. The scripts looks to be cycling through pages and getting this error every time.

Page not found
This page not exist on Oddsportal.com!

Sample commands run:

  • scrape_oddsportal_current_season(sport = 'soccer', country = 'england', league = 'premier-league', season = '2022', max_page = 20)
  • scrape_oddsportal_historical(sport = 'soccer', country = 'england', league = 'premier-league', start_season = '2022-2023', nseasons = 1, current_season = 'yes', max_page = 25)
  • scrape_oddsportal_historical(sport = 'soccer', country = 'world', league = 'world-cup', start_season = '2018', nseasons = 1, current_season = 'no', max_page = 2)

I note that the oddsportal site looks different visually and has the word "beta" in the logo.

Has the structure of the oddsportal site changed and hence resulted in these scraping fails?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions