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

Can spodcast download podcasts that appear as tracks #33

Open
Drew-Goddyn opened this issue Mar 11, 2023 · 2 comments
Open

Can spodcast download podcasts that appear as tracks #33

Drew-Goddyn opened this issue Mar 11, 2023 · 2 comments

Comments

@Drew-Goddyn
Copy link

Drew-Goddyn commented Mar 11, 2023

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"?

@9acca9
Copy link

9acca9 commented Mar 15, 2023

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.

@Drew-Goddyn
Copy link
Author

Drew-Goddyn commented Mar 16, 2023

@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 Drew-Goddyn changed the title Can spodcsast download podcasts that appear as tracks Can spodcast download podcasts that appear as tracks Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants