Giter VIP home page Giter VIP logo

Comments (31)

pauloup avatar pauloup commented on July 29, 2024 4

I fixed this issue and pulled a request. The only file to be changed is tags.py and you can get it here #53

from spotify-ripper.

hedwiggggg avatar hedwiggggg commented on July 29, 2024 2

I've made a spotfiy-ripper-web version basing on the spotify-ripper project here. And i've implemented a workaround for the cover art. You can check it out if you want.

https://github.com/hedwiggggg/spotify-ripper-web

from spotify-ripper.

hedwiggggg avatar hedwiggggg commented on July 29, 2024 1

https://github.com/search?l=&q=filename%3Aspotify_appkey.key&type=Code

from spotify-ripper.

DevMiKeCL avatar DevMiKeCL commented on July 29, 2024 1

@XP-Fan https://github.com/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

Thats down my man.

try https://github.com/search?l=&q=filename%3Aspotify_appkey.key&type=Code

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024 1

@seandex Spotify changed the available sizes for cover art. Now there are only three options:

  • 0: 300px
  • 1: 64px
  • 2: 640px

To select one of these, change the number in the line 85 of tags.py.
Example: Use image_link = str(track.album.cover(0).link) to get a 300px cover art.

Also note that I just updated this file tags.py in #53 to reflect a recent change in Spotify. The cover art URL now starts with "i.scdn.co", and no more "open.spotify.com.

Let me know if you need more help.

Can I buy you a cup of coffee

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

from my research, Spotify checks login or any credential for web art, and current script doesn't do the credential part.

from spotify-ripper.

gbvsilva avatar gbvsilva commented on July 29, 2024

from spotify-ripper.

XP-Fan avatar XP-Fan commented on July 29, 2024

Hey, I'm extremely sorry for disturbing here, but has anyone the spotify ripper working till as of now? Cause I am absolutely new to this (tryed yesterday) and it won't let me create an API-Key. So if it somehow still works to grab the audio files from spotify (I don't care about covers etc. since I'm blind), could someone for whom it works please help me?

from spotify-ripper.

XP-Fan avatar XP-Fan commented on July 29, 2024

from spotify-ripper.

hedwiggggg avatar hedwiggggg commented on July 29, 2024

Just google for "spotify_appkey.key" and take the first github link you find. Download it and you are ready to go.

from spotify-ripper.

XP-Fan avatar XP-Fan commented on July 29, 2024

from spotify-ripper.

hedwiggggg avatar hedwiggggg commented on July 29, 2024

You can also use the appkey for this project. you don't have to use it for my web-port.

I don't really have expirience in docker for windows.

from spotify-ripper.

XP-Fan avatar XP-Fan commented on July 29, 2024

from spotify-ripper.

hedwiggggg avatar hedwiggggg commented on July 29, 2024

Okay, just leave your email or something; Than i'll contact you;

from spotify-ripper.

XP-Fan avatar XP-Fan commented on July 29, 2024

from spotify-ripper.

DevMiKeCL avatar DevMiKeCL commented on July 29, 2024

I've made a spotfiy-ripper-web version basing on the spotify-ripper project here. And i've implemented a workaround for the cover art. You can check it out if you want.

https://github.com/hedwiggggg/spotify-ripper-web

nice, but it's works for albums only
thanks you!

from spotify-ripper.

ttmx avatar ttmx commented on July 29, 2024

@XP-Fan https://github.com/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

Thats down my man.

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

I fixed this issue and pulled a request. The only file to be changed is tags.py and you can get it here #53

Attempting to retrieve track from Spotify's Web API
https://api.spotify.com/v1/tracks/3CaZuQC9Y4pKaF0X9c2T3D
URL returned non-200 HTTP code: 401

Am I missing something or is there a such one time authorization step after the installation that I didn't do it?

from spotify-ripper.

pauloup avatar pauloup commented on July 29, 2024

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

Yes, I could do everything except for the album art that means I guess I had api.
I also use ID/PW. and created that 1 API was required from the installation page.
2nd attempt was re-install clone but no helps. still no arts.

long time ago i remember the oauth.html something that is missing in this github.

from spotify-ripper.

pauloup avatar pauloup commented on July 29, 2024

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

Yes, I could do everything except for the album art that means I guess I had api.
I also use ID/PW. and created that 1 API was required from the installation page.
2nd attempt was re-install clone but no helps. still no arts.

long time ago i remember the oauth.html something that is missing in this github.

I see you have tried many things. Sorry, it's getting hard for me to think of what's left to do. Have you tried the changes I included in the tags.py file? What's the error message, if any?

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

So far, I tried to overwrite tags.py to the build and re-installed it. maybe it's my settings and cache.
let me create a vps and try it again, if that fails, by any chance would you be able to rsync your directories except for your credential and api? I guess rsync method should work.

from spotify-ripper.

 avatar commented on July 29, 2024

@ttmx The file I linked to on here is in a private repo, and I'm not planning on making it public. Made a separate repo with just the spotify_appkey.key file: https://github.com/richardk80/spotify-appkey/raw/master/spotify_appkey.key

from spotify-ripper.

 avatar commented on July 29, 2024

@pauloup I made the changes to my tags.py file, and I'm able to get album art again. Thank you! Now if we can figure out how to download playlists like before without using text files that would be great.

from spotify-ripper.

pauloup avatar pauloup commented on July 29, 2024

So far, I tried to overwrite tags.py to the build and re-installed it. maybe it's my settings and cache.
let me create a vps and try it again, if that fails, by any chance would you be able to rsync your directories except for your credential and api? I guess rsync method should work.

I really think you don't need to reinstall spotify-ripper to apply these changes. I just changed the tags.py file located in:
/usr/local/lib/python2.7/dist-packages/spotify_ripper-2.9.1-py2.7.egg/spotify_ripper/tags.py

If you don't mind, I would prefer if you could share a google drive link with a copy of the folder /usr/local/lib/python2.7/dist-packages/spotify_ripper-2.9.1-py2.7.egg/, instead of messing with rsync. So I could compare your version to mine.

from spotify-ripper.

pauloup avatar pauloup commented on July 29, 2024

@pauloup I made the changes to my tags.py file, and I'm able to get album art again. Thank you! Now if we can figure out how to download playlists like before without using text files that would be great.

Yeah, that's my next goal.

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

@pauloup I have not had chances to try it due to in real-life business, and today, I tried it in brand new ubuntu but it is the same no album pictures.
what is your config.ini?

from spotify-ripper.

pauloup avatar pauloup commented on July 29, 2024

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

it works actually. Thanks!

from spotify-ripper.

seandex avatar seandex commented on July 29, 2024

@pauloup hey Paul. the cover art downloads the biggest size of cover art which is 640x640 and it won't display on native portable music players with builtin LCD.
is there a way to make it 600x600?

it should be something like
get(meta['albumPic'] + '?param=600y600')
or
replace('-large', '-t600x600') but if I edit the code with the current replace(':', '/') i get errors at the end. it's hard for me to fix
I hope you could look into it please. it is a little bit bigger than before which is over the limit of 600x600 that compatible with most of the native players.

from spotify-ripper.

pauloup avatar pauloup commented on July 29, 2024

@seandex Spotify changed the available sizes for cover art. Now there are only three options:

  • 0: 300px
  • 1: 64px
  • 2: 640px

To select one of these, change the number in the line 85 of tags.py.
Example: Use image_link = str(track.album.cover(0).link) to get a 300px cover art.

Also note that I just updated this file tags.py in #53 to reflect a recent change in Spotify. The cover art URL now starts with "i.scdn.co", and no more "open.spotify.com.

Let me know if you need more help.

from spotify-ripper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.