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

getting user not authorized over all accounts #36

Closed
catfordfire opened this issue Apr 9, 2023 · 7 comments
Closed

getting user not authorized over all accounts #36

catfordfire opened this issue Apr 9, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@catfordfire
Copy link

Hi again - I'm not sure if this is a bug or something being throttled on my accounts, but I've tried over three accounts (checked the cookies file for each) and tried multiple audiobooks, and am getting the same error each time. Are you able to replicate this? If not, please feel to trash this and I'll see what's happening on my accounts. Latest release installed.

DEBUG audiobook-dl 0.4.4
DEBUG python 3.10.9 (main, Dec 15 2022, 10:44:50) [Clang 14.0.0
(clang-1400.0.29.202)]
DEBUG Searching for missing dependencies
Finding compatible source
DEBUG Could not find match from https://www.scribd.com/listen/xxxxxxxxxxx with
(?<=(external_id":"))(scribd_)?\d+
ERROR: User not authorized

Make sure you have given the correct cookies with the --cookie
argument or with --username and --password, and
have all the right permissions to access the book you are trying to download.
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/sources/scribd.py", line 88, in prepare
book_id = self.find_in_page(
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/sources/source/init.py", line 138, in find_in_page
raise DataNotPresent
audiobookdl.exceptions.DataNotPresent

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/main.py", line 61, in run
run_on_url(options, url)
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/main.py", line 83, in run_on_url
download(s, options)
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/output/download.py", line 22, in download
audiobook = create_audiobook(source)
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/output/download.py", line 35, in create_audiobook
source.prepare()
File "/opt/homebrew/lib/python3.10/site-packages/audiobookdl/sources/scribd.py", line 93, in prepare
raise UserNotAuthorized
audiobookdl.exceptions.UserNotAuthorized

@catfordfire catfordfire added the bug Something isn't working label Apr 9, 2023
@jo1gi
Copy link
Owner

jo1gi commented Apr 9, 2023

@catfordfire Which book?

@catfordfire
Copy link
Author

This was the last one I tried, but I'm getting it for all
https://www.scribd.com/audiobook/543307954/Mindset-Shifts-Embracing-a-Life-of-Personal-Growth

@jo1gi
Copy link
Owner

jo1gi commented Apr 9, 2023

I get the same error. I will try to find a fix.

@catfordfire
Copy link
Author

thanks! much appreciated

@jo1gi
Copy link
Owner

jo1gi commented Apr 9, 2023

Think it works now

@catfordfire
Copy link
Author

Confirmed working again! Thanks so much as ever :)

@jo1gi jo1gi closed this as completed Apr 9, 2023
@jo1gi
Copy link
Owner

jo1gi commented Oct 30, 2023

You can't login with username and password. Use cookies.

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