leoncvlt / blinkist-scraper

📚 Python tool to download book summaries and audio from Blinkist.com, and generate some pretty output
190 stars 36 forks source link

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

Open stan000 opened 3 years ago

stan000 commented 3 years ago

>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?