A list of scripts to automate your daily tasks
- Make sure you have Python 2.x or 3.x and pip installed on your machine.
- Run the command to install the necessary packages.
pip install -r requirements.txt
- Download the torrent_downloader.py file and save it any directory that you wish.
- Run the file using
python torrent_downloader.py
- In the same directory, you will find a test.txt file which contains the magnet link of your selected torrent. Open your torrent client. Click on the icon resembling [--] i.e Add torrent from URL. Copy the entire magnet link and paste it in the box provided and your torrent will start streaming. I've done it for one the proxies of the pirate bay and they have stopped providing .torrent files. If you manage to get the .torrent file, you can automate the last step as well. I'll stick with the magnet link.
- Download the clean_folder.py file and save it in your Downloads directory.
- Run the file using
python clean_folder.py
- Your files will be arranged. You can add more extensions in the code if you like.
- Download the movie_db_and_subs_renamer.py and paste it in your Movies directory if you have one.
- Run the file using
python movie_db_and_subs_renamer.py
- I haven't considered all the cases of movie names here. This'll work best if you have a folder of movies with folder names containing only the respective movie name and year of release or just the movie name. This script can be improved further by forming a regex to match any folder name and extracting only the movie name from it.