Skip to content

string indices must be integers #56

Description

@Detox82517

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions