audiobook-dl icon indicating copy to clipboard operation
audiobook-dl copied to clipboard

Podimo not working

Open nahafyr opened this issue 4 months ago • 0 comments

Installation method: pip install audiobook-dl

Version: See command output

Describe the bug Error while downloading podimo podcast

Command output

DEBUG audiobook-dl 0.7.3
DEBUG python 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-1500.1.0.2.5)]
 INFO Finding compatible source
 INFO Authenticating with podimo
DEBUG Logging in
DEBUG 
authorization_token='******'
"DEBUG Downloading result of https://open.podimo.com/podcast/c6ec0b3e-c71b-470c-ac39-f5fda8fee203
Traceback (most recent call last):
  File "/opt/homebrew/bin/audiobook-dl", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/audiobookdl/__main__.py", line 33, in main
    process_url(url, options, config)
  File "/opt/homebrew/lib/python3.11/site-packages/audiobookdl/__main__.py", line 57, in process_url
    result = source.download(url)
             ^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/audiobookdl/sources/podimo.py", line 67, in download
    return self.download_podcast(url)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/audiobookdl/sources/podimo.py", line 76, in download_podcast
    episodes = self.download_podcast_episode_ids(podcast_id)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/audiobookdl/sources/podimo.py", line 106, in download_podcast_episode_ids
    for episode in response.json()["data"]["podcastEpisodes"]:
                   ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

nahafyr avatar Mar 07 '24 14:03 nahafyr