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

nextory Error - download fails #141

Open
essys opened this issue Jan 12, 2025 · 0 comments
Open

nextory Error - download fails #141

essys opened this issue Jan 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@essys
Copy link

essys commented Jan 12, 2025

Installation method:
pip/pypi

Version:
Python version 3.13.1
audiobook-dl version 0.7.3

Describe the bug
Download fails for nextory. audiobook-dl breaks with debug comments as below.
Book to be downloaded is saved in the (single) user library in 'Saved for later' as per documentation.

Command output
audiobook-dl --combine --output-format mp3 --username username --password password https://www.nextory.com/de/book/12-winter-auf-nimmerland-hook-auf-dem-eis-ei-ei-eiskaltes-nimmerland-jakes-pinguin-freund-h%C3%B6rspiel-zur-disney-tv-serie--3008695 --debug

DEBUG audiobook-dl 0.7.3
DEBUG python 3.13.1 (main, Dec  9 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)]
 INFO Finding compatible source
 INFO Authenticating with nextory
DEBUG Logging in
DEBUG device_id='DEVICE_ID'
DEBUG session_response={'id': <ID>, 'email': '<EMAIL>', 'country': 'DE', 'emailable': True, 'sign_in_count': 15, 'phone_number': '', 
'accept_newsletter': False, 'accept_push': True, 'user_type': 'MEMBER', 'first_name': None, 'last_name': None, 'channel': 'WEB', 'user_sub_states': [], 
'referral_url': 
'https://www.nextory.com/de/recommend-generic-de?utm_campaign=NX+App+%7C+Settings+%7C+Generic+%7C+NXDE&utm_medium=Referral&utm_source=NX+App&utm_content=ZcfYlHD
O4gZyd47InqHVhQ==', 'settings': {'pincode_enabled': False}, 'time_limit_info': None, 'total_consumption_secs': 0, 'override_fair_usage_policy': False, 
'is_free_trial': True, 'apple_inapp_allowed': True, 'enable_pay_now': False, 'first_app_logged_in': 1736721670000, 'login_token':TOKEN'}
DEBUG profile_token='TOKEN'
DEBUG Downloading result of 
https://www.nextory.com/de/book/12-winter-auf-nimmerland-hook-auf-dem-eis-ei-ei-eiskaltes-nimmerland-jakes-pinguin-freund-h%C3%B6rspiel-zur-disney-tv-serie--300
8695
Traceback (most recent call last):
  File "/home/USER/.local/bin/audiobook-dl", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/USER/.local/lib/python3.13/site-packages/audiobookdl/__main__.py", line 31, in main
    process_url(url, options, config)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/home/USER/.local/lib/python3.13/site-packages/audiobookdl/__main__.py", line 54, in process_url
    result = source.download(url)
  File "/home/USER/.local/lib/python3.13/site-packages/audiobookdl/sources/nextory.py", line 93, in download
    want_to_read_list = self.download_want_to_read_list()
  File "/home/USER/.local/lib/python3.13/site-packages/audiobookdl/sources/nextory.py", line 135, in download_want_to_read_list
    want_to_read_id = self.download_want_to_read_id()
  File "/home/USER/.local/lib/python3.13/site-packages/audiobookdl/sources/nextory.py", line 121, in download_want_to_read_id
    products_lists = self._session.get(
                     ~~~~~~~~~~~~~~~~~~
    ...<4 lines>...
        }
        ~
    ).json()["product_lists"]
    ~~~~~~~~^^^^^^^^^^^^^^^^^
@essys essys added the bug Something isn't working label Jan 12, 2025
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

1 participant