Skip to Content

Dhingana Ripper

Description
Dhingana ripper is command line for downloading songs in mp3 format from www.dhingana.com. The tool is written in ruby and emulates functionality of a browser while accessing the dhigana website. I originally reverse engineered dhingana's protocol using packet captures (wireshark) but there is now an easier way using the Firebug Firefox plugin. Note that the tool may break if dhingana's website undergoes any changes. I wrote this tool because i found it too cumbersome to keep clicking links for listening songs. Using this tool i am able to listen to any song of my choice within 10-15 seconds (on an average and depends on your download speed). Please read the disclaimer before using the tool
License
This program is licensed under GPLv3.
Requirements for running the program
  • ruby v1.8.6 interpreter (atleast)
  • Ruby net/http modules
  • Usage
    $ ./ripd.rb
    Dhingana Ripper v0.2
    +=+=+=+=+=+=+=+=+=+=
    Copyright (c) Arun Viswanathan 2008-2010

    Usage: ./ripd.rb 
    where
           search_keywords : A list of keywords within " "
           search_type     : song

    $ ./ripd.rb "an evening in paris" song
    Searching for 'an+evening+in+paris' of type 'song'
    Search returned 4 results
            0 An Evening In Paris
            1 An Evening In Paris - Raat Ke Humsafar
            2 An Evening In Paris-Raat Ke Humsafar
            3 An Evening In Paris-Raat Ke Humsafar
    Select file number to download (Hit Ctrl-D after input or 'q' to quit) ?
    0
    Downloading song 'An Evening In Paris' .. (will take some time)
    Writing to file 'An Evening In Paris.mp3'
    Done ! Enjoy

    Source Code
    ripd.tar.gz(v0.2)
    Bugs/Comments
    Please report any bugs or comments to arunv@arunviswanathan.com.
    Disclaimer
    Please note that this tool is meant for non-commercial use only. The use of the tool must comply with Dhingana's Terms of Service and that responsibility rests with the user of the tool. I cannot be held responsible for any legal issues arising out of the tools usage.