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

Everand - Missing data from source error #71

Open
ForcedComedy opened this issue Nov 30, 2023 · 7 comments
Open

Everand - Missing data from source error #71

ForcedComedy opened this issue Nov 30, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@ForcedComedy
Copy link

Installation method:
pip

Version:
python 3.12.0

Describe the bug
Missing data from source error

Command output
DEBUG audiobook-dl 0.7.1
DEBUG python 3.12.0 (tags/v3.12.0:0fb18b0, Oct 2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)]

image

@ForcedComedy ForcedComedy added the bug Something isn't working label Nov 30, 2023
@jo1gi
Copy link
Owner

jo1gi commented Dec 1, 2023

I'm not sure whats wrong yet, but I got it working with the version on Github.

@kauesena
Copy link

Any news? I am having the same problem.

@jo1gi
Copy link
Owner

jo1gi commented Dec 18, 2023

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
Copy link

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
Copy link
Owner

jo1gi commented Dec 22, 2023

@kauesena I can't replicate the problem. Are you sure you are logged in? Do you have problems with other books?

@santipangastuti
Copy link

@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
Copy link

@jo1gi somehow the method above no longer worked. debugging shows the similar result as sent by @kauesena . please help, thanks!

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

4 participants