Code Monkey home page Code Monkey logo

saavn-downloader-extension's Introduction

Saavn Song Downloader Chrome Extension

Song Quality Selector Downloads Single Song Download Bulk Song Download

This Extension will allow you to download any song, album or playlist in saavn seamlessly and easily.

Hritwik Singhal also uploaded this extension on Firefox. Here is the link.

Features

  • Select Any Quality Downloads (Supports HQ 320kbps)
  • Download a Single Song
  • Download an Album
  • Download a Playlist

How to use it

  • You will have a Download Selector on Top Menu. where you can select your download Quality
  • To Download a Single Song. You will see a "Download" button near the song title
  • To Download an Album You will see a "Download" button near the album title
  • To Download an Playlist You will see a "Download" button near the playlist name

How to Install it

this extension is currently not hosted in chrome webstore, so you will have to install it manually on chrome. below are the steps

  • download the extension here : download
  • extract the zip file
  • go to chrome extensions page chrome://extensions/
  • you will see a button called "Load Unpacked Extension.." click that
  • select the extracted folder and press "ok"

Note : the extension will be enabled on development mode. you will have a popup when opening the chrome. press cancel on that popup. you can always enable it again on the chrome extension page.

Issues

if you have any issues regarding this extension you may submit a issue in here issue link

Behind the Scenes

overview

Sorry to write this. but the saavn has a very poor security it is just exposed to everyone.. they haven't even mingled there code where in point a hacker or someone cannot read the code. the code they have minified is readable and easily exploitable because of it.

if you have javascript knowledge you can easily understand whats going behind. on the web application they will generate a single response url for a song playback which will be played via the player on the web. the song url will expire in approx 10s which means you cannot download it most of the time as the url expires. it will give an Forbidden error most of the time when you try to download.

Flaws

the web is typically exploitable we all know that. atleast this would have been much harder for someone to crack if it has been improved

-The Didn't Mingle the code. anyone can read the code and understand it.

-The Api of the application is exposed to the global anyone can access it from the chrome developer tools. for instance the 'Player' object :D you can play songs Programmatically. are you kidding ?

-Each song object details directly printed on the dom '.song-json' :D any hacker can easily deserialize the json object and use the data.

if they fix those the extension will be stopped from working :D sorry guys

How it works

Song

  • When you press a download button on song. it will send a request and generate a download URL from server.
  • Then it will download the song asynchronously in background. as the download song will have a gibberish name and no song details.
  • Then we will download the album art asynchronously.
  • Then we will add ID3 tags (Title, Singer, Cover, Composer and stuff) to the downloaded song.

Album, Playlist

  • Will download all Songs asynchronously as mentioned above.
  • We will make a virtual zip on memory and create a folder and add the songs there.
  • Download the Zip

saavn-downloader-extension's People

Contributors

naqushab avatar spidiman avatar

Watchers

James Cloos avatar Shalin Shah avatar

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.