This is a selenium based project to download songs from masstamilan site.
- Clone the git repository and cd inside the folder in your terminal
- Run the command
pip install -r requirements.txt
- Download the selenium webdriver of your browser and place it in
/usr/local/bin
. You can download it by searching it in google. - Open the project in your favourite python supported IDE
- Go to
https://masstamilan.dev/
and find the music director songs you want to download and click on the name from the music director wise song list option. - On clicking, you can find the format they have stored the name in the url
- Now copy that music director name from url and place it in
main.py
- Specify the download location
- Now you can run the application and download the songs movie wise.
- Once all the files are downloaded, open
extract_zips.py
and modifypath_to_zips_folder
anddestination_folder
- Then run it, all the zips would be extracted and placed in the destination in proper folder structure
This is a fun project tried with python with the goal of learning selenium with a real life application. I do not recommend you to download songs this way. You can always opt in subscription services like Spotify, Amazon Music, YouTube Music.
Also this might not work when you are trying, due to HTML changes in masstamilan site (in this case you might have to make some changes in main.py
),
or the site might have been removed due to copyright infringement.
Made with ❤️ from Madurai by Arjun
வாழ்க தமிழ்! வளர்க தமிழ்!