Git Product home page Git Product logo

python_scripts_for_automation's Introduction

Python_scripts_for_automation

A list of scripts to automate your daily tasks

How to use the files

Torrent Downloader

  1. Download the torrent_downloader.py file and save it any directory that you wish.
  2. Run the file using

python torrent_downloader.py

  1. 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.

Downloads folder cleaner

  1. Download the clean_folder.py file and save it in your Downloads directory.
  2. Run the file using

python clean_folder.py

  1. Your files will be arranged. You can add more extensions in the code if you like.

MovieDB and subtile renamer

  1. Download the movie_db_and_subs_renamer.py and paste it in your Movies directory if you have one.
  2. 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.

python_scripts_for_automation's People

Contributors

nikkhil13 avatar

Watchers

James Cloos avatar  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.