/Gaana-Downloader-Python

Gaana Downloader to download songs from Gaana.com website

Primary LanguagePythonMIT LicenseMIT

Gaana Downloader in Python

A simple Downloader that i coded in my free time while i was reading how websites stream their content and so decided to code a downloader to learn a bit more in depth.

This is my downloader to download songs from Gaana.com website, an online music streaming website.

Screenshot

Prerequisite

You need Python2.7, requests and m3u8 library installed installed for the script to work.

I used python2.7 but you can also use python3, just make changes in the print statements.

Python2.7 - https://www.python.org/download/releases/2.7/
requests - https://github.com/requests/requests
m3u8 - https://github.com/globocom/m3u8

You can also install requests and m3u8 using pip

pip install requests
pip install m3u8

Usage

$python2.7 gaana_downloader.py [-h] [--url URL] [--dir DIR] [--downall]

optional arguments:
  -h, --help  show this help message and exit
  --url URL   Gaana.com url to download from
  --dir DIR   Download Dir
  --downall   Use it to download all song

The script will ask for necessary information if optional arguments are not specified.

Final Note

This is not an exploit nor it will be one in the future. This just emulated what an website does and Gaana.com will feel as if someone is streaming the song from their website. In fact you can download what you can stream.

Disclaimer

This is for education purposes for someone who wish to learn how streaming works. I should not be held responsible for misusage of the script or damage caused because of it. Use it at your own risk.

Author

Arun Kumar Shreevastava