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

Function crashed, probable reason : no games scraped (empty season) #16

Open
volodymyrt1978 opened this issue Feb 14, 2024 · 0 comments

Comments

@volodymyrt1978
Copy link

Hello to all historical results and betting odds seekers
Can somebody help me with this issue? FinalScraper.py worked and I saw the following results in the console (Function crashed, probable reason : no games scraped (empty season) but season is not empty):
We start to collect season 2012-2013
We start to scrape the page n°1
[]
We start to scrape the page n°2
[]
We start to scrape the page n°3
[]
We start to scrape the page n°4
[]
We start to scrape the page n°5
[]
We start to scrape the page n°6
[]
We start to scrape the page n°7
[]
We start to scrape the page n°8
[]
We start to scrape the page n°9
[]
We start to scrape the page n°10
[]
We start to scrape the page n°11
[]
We start to scrape the page n°12
[]
We start to scrape the page n°13
[]
We start to scrape the page n°14
[]
We start to scrape the page n°15
[]
We start to scrape the page n°16
[]
We start to scrape the page n°17
[]
We start to scrape the page n°18
[]
We start to scrape the page n°19
[]
We start to scrape the page n°20
[]
We start to scrape the page n°21
[]
We start to scrape the page n°22
[]
We start to scrape the page n°23
[]
We start to scrape the page n°24
[]
We start to scrape the page n°25
[]
Function crashed, probable reason : no games scraped (empty season)
We finished to collect season 2012-2013 !
We start to collect current season
We start to scrape the page n°1
[]
We start to scrape the page n°2
[]
We start to scrape the page n°3
[]
We start to scrape the page n°4
[]
We start to scrape the page n°5
[]
We start to scrape the page n°6
[]
We start to scrape the page n°7
[]
We start to scrape the page n°8
[]
We start to scrape the page n°9
[]
We start to scrape the page n°10
[]
We start to scrape the page n°11
[]
We start to scrape the page n°12
[]
We start to scrape the page n°13
[]
We start to scrape the page n°14
[]
We start to scrape the page n°15
[]
We start to scrape the page n°16
[]
We start to scrape the page n°17
[]
We start to scrape the page n°18
[]
We start to scrape the page n°19
[]
We start to scrape the page n°20
[]
We start to scrape the page n°21
[]
We start to scrape the page n°22
[]
We start to scrape the page n°23
[]
We start to scrape the page n°24
[]
We start to scrape the page n°25
[]
Function crashed, probable reason : no games scraped (empty season)
We finished to collect current season !
Traceback (most recent call last):

File ~\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)

File c:\users\hp_home\documents\bets\finalscraper.py:19
scrape_oddsportal_historical(sport = 'football', country = 'europe', league = 'europa-league', start_season = '2012-2013', nseasons = 1, current_season = 'no', max_page = 25)

File ~\Documents\BETS\functions.py:1403 in scrape_oddsportal_historical
df = scrape_league_typeC(Season = start_season, sport = sport, country1 = country, tournament1 = league, nseason = nseasons, current_season = 'yes', max_page = max_page)

File ~\Documents\BETS\functions.py:950 in scrape_league_typeC
file1 = pd.read_csv('./{}/'.format(tournament1) + os.listdir('./{}/'.format(tournament1))[0], sep=';')

FileNotFoundError: [WinError 3] Системе не удается найти указанный путь: './europa-league/'

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

1 participant