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

JSON error with Blinkist #85

Open
mdleung opened this issue Jan 19, 2024 · 2 comments
Open

JSON error with Blinkist #85

mdleung opened this issue Jan 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mdleung
Copy link

mdleung commented Jan 19, 2024

Installation method:
Github Repo

Version:
Python 3.12.1
audiobook-dl 0.7.2

Describe the bug
Error when trying to download a book.
See below.

Command output
DEBUG audiobook-dl 0.7.2
DEBUG python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)]
INFO Finding compatible source
INFO Authenticating with blinkist
DEBUG Loading cookies from 'C:\Users\matt\Downloads\cookies.txt'
DEBUG Downloading result of https://www.blinkist.com/en/nc/reader/phantoms-in-the-brain-en
Traceback (most recent call last):
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\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 "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Scripts\audiobook-dl.exe_main
.py", line 7, in
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\site-packages\audiobookdl_main
.py", line 31, in main
process_url(url, options, config)
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\site-packages\audiobookdl_main_.py", line 54, in process_url
result = source.download(url)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\matt\AppData\Local\Programs\Python\Python312\Lib\site-packages\audiobookdl\sources\blinkist.py", line 18, in download

@mdleung mdleung added the bug Something isn't working label Jan 19, 2024
@jo1gi
Copy link
Owner

jo1gi commented Jan 26, 2024

@mdleung I don't have an account for Blinkist. Can I borrow your account for testing?

@mdleung
Copy link
Author

mdleung commented Jan 28, 2024

@mdleung I don't have an account for Blinkist. Can I borrow your account for testing?

I created a trial account. Lasts for 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants