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

string indices must be integers #56

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

string indices must be integers #56

Detox82517 opened this issue Jun 3, 2021 · 0 comments

Comments

@Detox82517
Copy link

idk how to describe this, but from one day to the other I get this:

DevTools listening on ws://127.0.0.1:58651/devtools/browser/ef75920d-da4e-4d69-be34-8a83fa0e3391
←[2m[13:09:45]←[0m ←[34mINFO←[0m Please solve captcha to proceed!
←[2m[13:10:13]←[0m ←[34mINFO←[0m Logged into Blinkist. Loading Library...
←[2m[13:10:13]←[0m ←[31mERROR←[0m string indices must be integers
Traceback (most recent call last):
File "C:\Users\x8251\Blinkist Scraper\blinkistscraper_main_.py", line 412, in
main()
File "C:\Users\x8251\Blinkist Scraper\blinkistscraper_main_.py", line 336, in main
scrape_book(
File "C:\Users\x8251\Blinkist Scraper\blinkistscraper_main_.py", line 248, in scrape_book
book_json, dump_exists = scraper.scrape_book_data(
File "C:\Users\x8251\Blinkist Scraper\blinkistscraper\scraper.py", line 391, in scrape_book_data
if os.path.exists(get_book_dump_filename(book_url)) and not force:
File "C:\Users\x8251\Blinkist Scraper\blinkistscraper\utils.py", line 23, in get_book_dump_filename
return os.path.join("dump", book_json_or_url["slug"] + ".json")
TypeError: string indices must be integers
←[2m[13:10:13]←[0m ←[41mCRITICAL←[0m Uncaught Exception. Exiting...

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