Spodcast icon indicating copy to clipboard operation
Spodcast copied to clipboard

Can spodcast download podcasts that appear as tracks

Open Drew-Goddyn opened this issue 2 years ago • 2 comments

I'm able to download podcasts that include /episode/ in the url i.e. https://open.spotify.com/episode/5358drsbZg3Z973JvcdWeN

However, some kids stories / podcasts appear as /tracks/ and don't seem to download i.e. https://open.spotify.com/track/2DLn7ObdemNc73MhPSRdBN

Is this a purposeful limitation to avoid allowing downloading "songs"?

Drew-Goddyn avatar Mar 11 '23 04:03 Drew-Goddyn

HI. i dont have an asnwer for your question, but maybe you can give me a hand. Im trying to download the podcast like this:

./spodcast --credentials-location /home/panchines/spotify.rc urls https://open.spotify.com/show/6WJJC1RMBJzkH1MhusyZNd

i have my credentials there. that dont show anything.

what i need to do? I just want to use the cli to download the podcast.

Thanks, i ask because it seems that you know how to download.

9acca9 avatar Mar 15 '23 15:03 9acca9

@9acca9

Sorry away from my computer so typing this on my phone. If I had to guess you haven't authenticated and generated a creds file. Here's the docker steps (native should be similar if you're using that):

  1. mkdir -p /tmp/spodcast
  2. echo 'spotify_username spotify_password' > /tmp/spodcast/spotify.rc (replace with your actual username and password)
  3. docker run -it -v /tmp/spodcast:/data heywoodlh/spodcast -c /data/spodcast.json --root-path /data/html --log-level info --credentials-location /data/creds.json -p -l /data/spotify.rc (this will authenticate and create your creds.json in the tmp/spodcast)
  4. docker run -it -v /tmp/spodcast:/data heywoodlh/spodcast -c /data/spodcast.json --log-level info --max-episodes 10 'https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk' (use your creds to download something from the URL, downloads should end up in tmp/spodcast/html or something like that)

Tip: use something other than tmp or move the created creds file and pass the path to the next command if you don't want to need to reauthenticate when tmp gets wiped

Non docker should be similar as the flags and arguments are the same if you install through pip (haven't tried)

Drew-Goddyn avatar Mar 16 '23 04:03 Drew-Goddyn