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

I'm getting: AttributeError: 'NoneType' object has no attribute 'find' #22

Open
pstils opened this issue Feb 5, 2024 · 1 comment
Open

Comments

@pstils
Copy link

pstils commented Feb 5, 2024

File "/home/peter/livescore-cli/livescore.py", line 50, in
main()
File "/home/peter/livescore-cli/livescore.py", line 24, in main
games = get_games(cname, event_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/peter/livescore-cli/lib/lsweb.py", line 101, in get_games
games = parse_games(soup)
^^^^^^^^^^^^^^^^^
File "/home/peter/livescore-cli/lib/lsweb.py", line 65, in parse_games
sp = soup.find('div', attrs={'data-testid': 'match_rows-root'}).find_all('div', recursive=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'find_all'

On Fedora 39.

@dakkar96
Copy link

same error here (fedora 39)

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

2 participants