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

'NoneType' object has no attribute 'split' #55

Open
stan000 opened this issue Jun 3, 2021 · 0 comments
Open

'NoneType' object has no attribute 'split' #55

stan000 opened this issue Jun 3, 2021 · 0 comments

Comments

@stan000
Copy link

stan000 commented Jun 3, 2021

>python blinkistscraper @.* ********
←[2m[12:43:23]←[0m ←[34mINFO←[0m Starting scrape run...
←[2m[12:43:23]←[0m ←[34mINFO←[0m Initialising chromedriver at C:\Users***\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chromedriver_autoinstaller\91\chromedriver.exe...

DevTools listening on ws://127.0.0.1:56424/devtools/browser/492b0c18-1e9f-431f-8080-49943064fb4b
←[2m[12:43:32]←[0m ←[34mINFO←[0m Logged into Blinkist. Loading Library...
←[2m[12:43:33]←[0m ←[31mERROR←[0m 'NoneType' object has no attribute 'split'
Traceback (most recent call last):
File "\blinkistscraper_main_.py", line 412, in
main()
File "
\blinkistscraper_main_.py", line 358, in main
categories = scraper.get_categories(
File "**\blinkistscraper\scraper.py", line 322, in get_categories
"label": " ".join(label.split()).replace("&", "&"), "url": href
AttributeError: 'NoneType' object has no attribute 'split'
←[2m[12:43:33]←[0m ←[41mCRITICAL←[0m Uncaught Exception. Exiting...

Any idea?

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