jo1gi / audiobook-dl

Audiobook CLI downloader
GNU General Public License v3.0
248 stars 43 forks source link

Podimo audiobook download not working #130

Open FGOD1983 opened 1 month ago

FGOD1983 commented 1 month ago

Installation method: Github repo or pip/pypi

git install

Version: Python version and audiobook-dl version

Python 3.12.3 audiobook-dl: 0.7.3

Describe the bug A clear and concise description of what the bug is.

after the login entry the script cuts out with errors

Command output Command and output with --debug flag

audiobook-dl https://open.podimo.com/audiobook/6b1aa7ba-824e-4b6f-b425-61a98a952a30 --debug
DEBUG audiobook-dl 0.7.3
DEBUG python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
 INFO Finding compatible source
 INFO Authenticating with podimo
Username: ***
Password: ***
DEBUG Logging in
Traceback (most recent call last):
  File "/usr/local/bin/audiobook-dl", line 33, in <module>
    sys.exit(load_entry_point('audiobook-dl==0.7.3', 'console_scripts', 'audiobook-dl')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/__main__.py", line 33, in main
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/__main__.py", line 53, in process_url
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/__main__.py", line 143, in authenticate
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/__main__.py", line 123, in login
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/sources/source/__init__.py", line 95, in login
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/sources/podimo.py", line 24, in _login
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/sources/podimo.py", line 51, in graphql_request
  File "/usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/utils/__init__.py", line 37, in read_asset_file
  File "/usr/lib/python3.12/zipfile/_path/__init__.py", line 339, in read_text
    with self.open('r', encoding, *args, **kwargs) as strm:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/zipfile/_path/__init__.py", line 304, in open
    raise FileNotFoundError(self)
FileNotFoundError: /usr/local/lib/python3.12/dist-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/assets/sources/podimo/login.graphql