Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

torrent_rss

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

torrent_rss

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

TorrentRSS

TorrentRSS is a command-line utility for downloading torrent files from an RSS feed, looking for new entries by recording the ID of the RSS item in a log file (The entry ID is MD5'd in the event that the ID is a URL).

Installation

Add this line to your application's Gemfile:

gem 'torrent_rss'

And then execute:

$ bundle

Or install it yourself as:

$ gem install torrent_rss

Usage

The primary command is torrent_rss fetch. The command takes an array of RSS feeds and parses them for new entries to download to a specific folder. By default, it will look for a configuration file found at ~/.torrent_rss. This configuration file is written using TOML, and includes the destination directory and the array of RSS feeds to query.

Example:

directory = "/opt/torrents"
feeds = [
  "http://example.com/torrent.rss",
  "http://example2.com/doesnt/need/rss/extension"
]

TorrentRSS also supports command-line flags that override anything set in its configuration file. By default, that file is located at ~/.torrent_rss, but can be overridden with the --config flag.

Options: -f, [--feeds=one two three] # Array of Feed URLs to parse and download from -d, [--directory=DIRECTORY] # Directory to download torrent files from -c, [--config=CONFIG] # Specify the configuration file for TorrentRSS. # Default: ~/.torrent_rss

Downloaded items have their IDs MD5'd and logged in ~/.torrent_rss_log to prevent redownloading.

torrent_rss monitor

Do you want to continuously monitor RSS feeds instead of periodically running torrent_rss fetch? Then you want the torrent_rss monitor utility. The monitor will check every 60 seconds if new torrents are ready for download. When passed the -d option, it will fork and detach as a daemon.

Questions? Issues? Want to contribute? Pull requests and issues welcome.

FAQs

Package last updated on 19 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc