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

Not able to download from Blinkist #112

Open
JaegerMaster opened this issue Jun 23, 2024 · 0 comments
Open

Not able to download from Blinkist #112

JaegerMaster opened this issue Jun 23, 2024 · 0 comments

Comments

@JaegerMaster
Copy link

Getting the below error with Blinkist

`audiobook-dl -c ~/scripts/blinkist.txt https://www.blinkist.com/en/nc/reader/the-new-menopause-en
Finding compatible source
Authenticating with blinkist
Traceback (most recent call last):
File "/home/jaeger/.local/lib/python3.10/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jaeger/.local/bin/audiobook-dl", line 8, in
sys.exit(main())
File "/home/jaeger/.local/lib/python3.10/site-packages/audiobookdl/main.py", line 33, in main
process_url(url, options, config)
File "/home/jaeger/.local/lib/python3.10/site-packages/audiobookdl/main.py", line 56, in process_url
result = source.download(url)
File "/home/jaeger/.local/lib/python3.10/site-packages/audiobookdl/sources/blinkist.py", line 18, in download
book_info = self.download_book_info(book_id)
File "/home/jaeger/.local/lib/python3.10/site-packages/audiobookdl/sources/blinkist.py", line 59, in download_book_info
).json()
File "/home/jaeger/.local/lib/python3.10/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`

@JaegerMaster JaegerMaster changed the title Not abl;e to download from Blinkist Not able to download from Blinkist Jun 23, 2024
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