Everand - Missing data from source error
ForcedComedy opened this issue · 7 comments
ForcedComedy commented
jo1gi commented
I'm not sure whats wrong yet, but I got it working with the version on Github.
kauesena commented
Any news? I am having the same problem.
jo1gi commented
I think the new version on Pypi should work. If it doesn't please send me the output and the command with --debug
enabled.
kauesena commented
Hi, @jo1gi. Thank you for the help. Here is the output:
(.venv) :: ~ » audiobook-dl -c cookies-everand-com.txt https://www.everand.com/audiobook/638620660/Are-Prisons-Obsolete --debug
DEBUG audiobook-dl 0.7.2
DEBUG python 3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801]
INFO Finding compatible source
INFO Authenticating with everand
DEBUG Loading cookies from 'cookies-everand-com.txt'
DEBUG Downloading result of https://www.everand.com/audiobook/638620660/Are-Prisons-Obsolete
DEBUG Could not find match from https://www.everand.com/listen/638620660 with (?<=(Scribd.Audiobooks.Show,
)){.+}(?=\))
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 "/home/user1/audiobook-dl/.venv/lib/python3.11/site-packages/audiobookdl/__main__.py", line 31, in main
process_url(url, options, config)
File "/home/user1/audiobook-dl/.venv/lib/python3.11/site-packages/audiobookdl/__main__.py", line 54, in process_url
result = source.download(url)
^^^^^^^^^^^^^^^^^^^^
File "/home/user1/audiobook-dl/.venv/lib/python3.11/site-packages/audiobookdl/sources/everand.py", line 24, in download
return self.download_book_from_url(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user1/audiobook-dl/.venv/lib/python3.11/site-packages/audiobookdl/sources/everand.py", line 77, in download_book_from_url
book_info = self.extract_info(url)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/user1/audiobook-dl/.venv/lib/python3.11/site-packages/audiobookdl/sources/everand.py", line 100, in extract_info
raw = self.find_in_page(
^^^^^^^^^^^^^^^^^^
File "/home/user1/audiobook-dl/.venv/lib/python3.11/site-packages/audiobookdl/sources/source/__init__.py", line 147, in find_in_page
raise DataNotPresent
audiobookdl.exceptions.DataNotPresent
jo1gi commented
@kauesena I can't replicate the problem. Are you sure you are logged in? Do you have problems with other books?
santipangastuti commented
@ForcedComedy @kauesena I got the same issue and it's resolved for me. you need to click on 'listen now', save the cookies then paste the url (not the listen one)
santipangastuti commented