Open Drew-Goddyn opened 1 year ago
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
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):
mkdir -p /tmp/spodcast
echo 'spotify_username spotify_password' > /tmp/spodcast/spotify.rc
(replace with your actual username and password)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)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)
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"?