GithubHelp home page GithubHelp logo

rsstorrent's Introduction

Rsstorrent

Rsstorrent.py: A small tool that monitors an RSS-feed and automatically downloads torrents to a specified folder.

It daemonizes after start and polls specified URLs at a specified interval. Init files are included for Gentoo (rc-init) and Debian/Ubuntu (not systemd).

Dependencies

It utilizes various packages to work. Dependencies:

# Standard packages
os
signal
urllib.request
urllib.parse
urllib.error
http.cookiejar
time
re
logging
configparser
argparse
# Special packages
feedparser
daemon

Instructions for use

  1. Download the files and unpack into a directory.

  2. Change the file rsstorrent.py to be runnable (chmod +x rsstorrent.py or right-click it, choose properties and fix it there).

    2.1. Copy the rsstorrent.py to /usr/bin or /usr/local/bin to make it launchable via init script.

  3. Copy the config file to ~/.rsstorrents/ and edit it there. The comments in the file should be fairly self-explanatory (if not, please file a bug!):

    3.1. Set an RSS-feed to monitor. This might include your login and some hash-values generated by your site.

    3.2. Set the directory to which you want to download your files.

    3.3. Add search patterns in a basic regular expression form. "." (without the quotes) is the wildcard to use. "." means any character and "" means 0 or more occurrences of it. Rsstorrent using Python's regular expressions without manipulation.

    3.4. Set your username and password to the torrent site, this is used to download the actual files.

  4. Copy the init file that suits your system (Gentoo or Debian/Ubuntu. Feel free to contribute with more init files!) to the /etc/init.d/ folder and remove the trailing distribution name. Make it executable by doing chmod -x rsstorrent.

  5. Then start the script by running /etc/init.d/rsstorrent start.

and after that you should be up'n'running. Over and out!

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.