podcast downloading error.
arvindmn01 opened this issue · comments
Hi,
I tried to download spotify episode using the below command.
spotifydl https://open.spotify.com/episode/6ptE0E81rdhzsEWeZTmkAp --l
I am able to download it, but the audio length is only 5 minutes, whereas the actual podcast length is 32 minutes. Additionally, while downloading, the total MB it was downloading was 60 mb, but after it finished, the audio size is only 10MB.
@arvindmn01 to be clear this doesn't rip from spotify, it searches youtube to find the podcast. if i was to guess could it have matched a 5minute clip on youtube?
in the logs there should have been Trying youtube link (LINK)
could you double check what it found is actually the 32 mins you expect?
@phyzical
yes it is actually downloading this video https://www.youtube.com/watch?v=JxCfbLyIaCE from youtube instead of actual podcast from spotify.
Is it possible to download the original podcast?
this package can only use youtube.
searching youtube with keywords "${searchTerms}"
this log should show what its using to try and best guess
If you find there is a better search term that lines up on youtube in general better then its up to you to configure --search-format
i think by default it just searches youtube for SHOW - EPISODE_NAME
'eg. $ spotifydl --sf "something {artistName} - {itemName} anyrandomextrastring"',
where artistName will be changed to showname and itemName will be changed to episode name
@phyzical Thanks for the detailed response.
However, my requirements are completely different. If I can find the podcast on YouTube, then I can easily download it. My specific need is to download podcasts that are not on YouTube but only on Spotify.
@arvindmn01 no worries, checkout this https://github.com/jsavargas/zspotify
Good luck 👍