-
-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Installation method: Github repo
Version:
- Python: 3.11
- Audiobook: latest from repo
Describe the bug
I downloaded an audiobook earlier today. I am trying to do the same for another one (that i've already saved it to my library on the app and I've copied the URL from the web) but the error I'm getting is "Missing data from source". I am able to listen to the audiobook from the app, though.
Command output
`
$ audiobook-dl --username xxxx@xxxxxxxx.com --password xxxxxxxxx --output-format m4a -d https://www.storytel.com/ar/books/crimen-y-castigo-2161784
DEBUG audiobook-dl 0.7.3
DEBUG python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
INFO Finding compatible source
INFO Authenticating with storytel
DEBUG Logging in
DEBUG Downloading result of https://www.storytel.com/ar/books/crimen-y-castigo-2161784
DEBUG download: url='https://www.storytel.com/ar/books/crimen-y-castigo-2161784', list_type='books', language='ar', language2=None
DEBUG URL https://storytel.com/books/crimen-y-castigo-2161784
ERROR: Missing data from source
audiobook-dl is missing data from source. This can happen when you try to
download audiobooks you don't have access too (not logged in or your profile
doesn't have the right permissions), the site has been updated and audiobook-dl
hasn't implemented the new version, or it could be a bug in audiobook-dl.
If you think it is a problem with audiobook-dl please create an issue at
https://github.com/jo1gi/audiobook-dl/issues
Traceback
Traceback (most recent call last):
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl_main_.py", line 33, in main
process_url(url, options, config)
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl_main_.py", line 58, in process_url
result = source.download(url)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl\sources\storytel.py", line 224, in download
return self.download_book_from_url(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl\sources\storytel.py", line 282, in download_book_from_url
return self.download_book_from_book_id(consumableId)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl\sources\storytel.py", line 268, in download_book_from_book_id
chapters = self.get_chapters(book_details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl\sources\storytel.py", line 528, in get_chapters
file_metadata = self.download_audiobook_info(book_details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Romina\AppData\Local\Programs\Python\Python311\Lib\site-packages\audiobookdl\sources\storytel.py", line 519, in download_audiobook_info
raise DataNotPresent
audiobookdl.exceptions.DataNotPresent
`
Thanks in advance.
Romina