Giter Site home page Giter Site logo

Comments (13)

inovachrono avatar inovachrono commented on May 30, 2024 2

Does anyone here knows if any Saavn API exists to pull all the albums in my music? Unfortunately it does not even exist in web player so hard to find the links of all albums in my music.

I have updated my fork monuyadav016/Saavn-Downloader to solve what you are looking for.

from saavn-downloader.

prabaprakash avatar prabaprakash commented on May 30, 2024

I don't know you. Always there is a way to go it. No system is perfect

from saavn-downloader.

inovachrono avatar inovachrono commented on May 30, 2024

How is this even in the issues section. Though its a good question, it does not belong here.

from saavn-downloader.

terminal77 avatar terminal77 commented on May 30, 2024

I know it's not an issue with this repository but posted here thinking someone might have figured this out or OP might have some experience working with Saavn API.

from saavn-downloader.

terminal77 avatar terminal77 commented on May 30, 2024

Thanks a lot @monuyadav016 . Really appreciate your work. However I'm hitting an issue when using 'python3 Download.py -a' , it downloads first two albums but then fails wit this error:

Album name:  None
Traceback (most recent call last):
  File "Download.py", line 285, in <module>
    downloadAllAlbums(getLibrary())
  File "Download.py", line 215, in downloadAllAlbums
    album_name = album_nm.replace("&quot;", "'")
AttributeError: 'NoneType' object has no attribute 'replace'

Can you please look into this. Thanks again!

from saavn-downloader.

inovachrono avatar inovachrono commented on May 30, 2024

Album name: None
Traceback (most recent call last):
File "Download.py", line 285, in
downloadAllAlbums(getLibrary())
File "Download.py", line 215, in downloadAllAlbums
album_name = album_nm.replace(""", "'")
AttributeError: 'NoneType' object has no attribute 'replace'

I can make out that the data was not parsed properly. Though I have no Idea which album caused this issue. So I have simply added a exception handling for such albums. So next time you can paste the line that says "Error getting album with ID:". So these album should be skipped for now.

Also I want to inform you that only those albums that have a heart mark are part of your library. Not every album that you see in the albums sections may not be part of your library, so they will not be downloaded.

I'll gladly except any further feedback.

from saavn-downloader.

terminal77 avatar terminal77 commented on May 30, 2024

Thanks a lot man. That worked perfectly.

Also I want to inform you that only those albums that have a heart mark are part of your library. Not every album that you see in the albums sections may not be part of your library, so they will not be downloaded.
Yeah found that out, it sucks because of most of my library is just downloaded to phone never clicked on that hear icon to add to my library.

The only thing I can request is if possible, add an option to download all the albums of an artist( we can give the link to artist in Saavn as an argument)

Thanks again for all your work.
P.S: The word 'except' mean something different, I'm guessing you wanted to say 'accept' :) (Not trying to be grammar nazi but just so you know)

from saavn-downloader.

inovachrono avatar inovachrono commented on May 30, 2024

I have added the requested enhancement. Now you can download all albums of an artist. Though each albums will have its own folder, you should be careful to segregate other albums before running the newly added -artist command. Because almost all popular artist have more than 100's of albums. I tested the script with Arijit Singh and he alone has 692 albums. So you probably should move other downloaded albums beforehand otherwise they'll all mix up and that will be the end of well maintained Library. I'll change this in a later update to download artist albums in a folder by artist name.

P.S: The word 'except' mean something different, I'm guessing you wanted to say 'accept' :) (Not >trying to be grammar nazi but just so you know)

Yeah that's a typo.

from saavn-downloader.

inovachrono avatar inovachrono commented on May 30, 2024

I came here to say that I have updated the script and now you no longer need to worry about the albums cluttering and destroying your library structure.

from saavn-downloader.

terminal77 avatar terminal77 commented on May 30, 2024

Man, that's perfect. Thank you so much. Truly appreciated.

from saavn-downloader.

inovachrono avatar inovachrono commented on May 30, 2024

Man, that's perfect. Thank you so much. Truly appreciated.

You can show appreciation in github way by liking the project so that people can find my project easily.

Downloading from youtube is not the best experience because youtube has only 128kbps even for Youtube Songs.

I like the fact that people want to keep their songs offline just like old days rather than streaming it from a platform online everytime they want to listen to one.

from saavn-downloader.

terminal77 avatar terminal77 commented on May 30, 2024

You can show appreciation in github way by liking the project so that people can find my project easily.

Done

Downloading from youtube is not the best experience because youtube has only 128kbps even for Youtube Songs.

Yep and it'll be a pain to manage metadata for youtube downloads.

I like the fact that people want to keep their songs offline just like old days rather than streaming it from a platform online everytime they want to listen to one.

Agreed, I actually pay for Saavn Pro, but the fact that they can take songs offline anytime infuriates me. So many times songs in my playlists have been marked 'Unavailable'. So I really wanted to keep an offline copy of everything, eventually I'll just run my own music server (for personal use only).

from saavn-downloader.

prabaprakash avatar prabaprakash commented on May 30, 2024

@monuyadav016 Will you make a pull request to merge those fixes. I just fixed fetching playlist and album it.

from saavn-downloader.

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.