Code Monkey home page Code Monkey logo

jiosaavn-dl's Introduction

Hello

  • I am a B.Tech final year student.
  • I love automation and can code with C++, Python, Go, Kotlin and JavaScript for now.
  • I am interested in applied ML, Computer vision and android development.
  • Check out my projects.

GitHub stats

jiosaavn-dl's People

Contributors

bunnykek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jiosaavn-dl's Issues

Issue with songs with "" in their name

Downloading : 160. Koodamela Koodavechi (From "Rummy")...
Traceback (most recent call last):
File "C:\Users\G\Downloads\jiosaavn-dl-main\jiosaavn.py", line 247, in
playlist_json_handler(playlist_json, playlist_path)
File "C:\Users\G\Downloads\jiosaavn-dl-main\jiosaavn.py", line 60, in playlist_json_handler
download_song(json['songs'].index(
File "C:\Users\G\Downloads\jiosaavn-dl-main\jiosaavn.py", line 92, in download_song
with open(song_path, "wb") as f:
OSError: [Errno 22] Invalid argument: 'C:\Users\G\Downloads\jiosaavn-dl-main\Downloads\Playlist - sss\160. Koodamela Koodavechi (From "Rummy").m4a'

I think, As "" is not allowed in filename, script throws the upshown error.

I just downloaded you file and when I run I am getting following error

Exception has occurred: FileNotFoundError
[Errno 2] No such file or directory: 'ffmpeg'
File "/Users/vertigo/Desktop/jiosaavn-dl/jiosaavn.py", line 224, in
subprocess.Popen(["ffmpeg", "-y", "-i", song_json["image"].replace("150", "500"),

Downloading the cover...
Traceback (most recent call last):
File "/Users/vertigo/Desktop/jiosaavn-dl/jiosaavn.py", line 224, in
subprocess.Popen(["ffmpeg", "-y", "-i", song_json["image"].replace("150", "500"),
File "/usr/local/Cellar/[email protected]/3.9.1_6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/Cellar/[email protected]/3.9.1_6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1819, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

It does pull the file info and crash after Downloading the cover... file

I am on M1 macbook pro with python3
i downloaded the ffmpeg 4.4.1 binaries named for osx-64

Please advice next actions

Error

here is the error

AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "H:\jiosaavn-dl\jiosaavn.py", line 240, in
jiosaavn.processAlbum(id_)
File "H:\jiosaavn-dl\jiosaavn.py", line 94, in processAlbum
album_json = json.loads(json_rx.search(album_json).group(1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "H:\jiosaavn-dl\jiosaavn.py", line 240, in
jiosaavn.processAlbum(id_)
File "H:\jiosaavn-dl\jiosaavn.py", line 94, in processAlbum
album_json = json.loads(json_rx.search(album_json).group(1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Folder naming error

Sorry to bother you... Your previous code was saving Albums which don't had Album Artist in this format (Single folder, which was good)
__ - Archana - 50 Hindu Devotional Songs [2009]
__ - Ayyappan -15 Divine Essential Songs [2016]
__ - Ayyappan Superhit Paadalgal Vol. 1 [2015]
__ - Divine Blessings 2016 [2015]
__ - Diwali - Songs of Devotion [2016]

Now this code is saving the Albums in different folder

Biju Narayanan - Archana - 50 Hindu Devotional Songs [2009]
G. Venugopal - Archana - 50 Hindu Devotional Songs [2009]
K. S. Chithra - Archana - 50 Hindu Devotional Songs [2009]
M.G. Sreekumar - Archana - 50 Hindu Devotional Songs [2009]
Madhu Balakrishnan - Archana - 50 Hindu Devotional Songs [2009]
Manju - Archana - 50 Hindu Devotional Songs [2009]
P. Jayachandran - Archana - 50 Hindu Devotional Songs [2009]
Radhika Thilak - Archana - 50 Hindu Devotional Songs [2009]
Rajesh H - Archana - 50 Hindu Devotional Songs [2009]
Sangeetha - Archana - 50 Hindu Devotional Songs [2009]
Shweta Mohan - Archana - 50 Hindu Devotional Songs [2009]
Sujatha Mohan - Archana - 50 Hindu Devotional Songs [2009]
Vani Jayaram - Archana - 50 Hindu Devotional Songs [2009]
Various Artists - Archana - 50 Hindu Devotional Songs [2009]


Harish Raghavendra - Ayyappan -15 Divine Essential Songs [2016]
Pushpavanam Kuppusamy - Ayyappan -15 Divine Essential Songs [2016]
Rahul - Ayyappan -15 Divine Essential Songs [2016]
Ramu - Ayyappan -15 Divine Essential Songs [2016]
S. P. Balasubrahmanyam - Ayyappan -15 Divine Essential Songs [2016]

If possible, Please correct this issue....

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.