Skip to main content

RSS interface to TorrentAPI

Project description

rarbg → rss

Adapter for Torrent API (see docs) that serves search results as broadcatching-ready RSS feed.

Installation

Requires Python 3.6 or later.

pip install -U rarbg

Docker

Run it with docker like this:

docker build . --tag rarbg:v1
docker run -p 4444:4444 -it rarbg:v1

Usage

Run the server by typing rarbg. You can optionally specify host and port with -h (default 0.0.0.0) and -p options (default 4444).

Access it by passing parameters to http://localhost:444/ as you would pass them to Torrent API.

Note that Torrent API has a rate limit of one request per two seconds.

Token updates and rate limits are handled automatically.

Convenience methods

/imdb/<imdb_id> search by imdb (equals to /?mode=search&search_imdb=<imdb_id>)

/tvdb/<tvdb_id> search by tvdb (equals to /?mode=search&search_tvdb=<tvdb_id>)

/search/<search_term> search by string (equals to /?mode=search&search_string=<search_term>)

Available filters

category filter by category, specify multiple categories like this: 44;45

limit number of results: 25, 50 or 100 (default: 25)

sort order by seeders, leechers (default: last)

min_seeders and min_leechers hide results with less activity

ranked=0 get non-scene releases

All parameters can be mixed together and work with convenience methods.

Example

http://localhost:4444/imdb/tt2802850?category=41 will get you HD releases of Fargo

Categories

 4 XXX (18+)
14 Movies/XVID
48 Movies/XVID/720
17 Movies/x264
44 Movies/x264/1080
45 Movies/x264/720
47 Movies/x264/3D
42 Movies/Full BD
46 Movies/BD Remux
18 TV Episodes
41 TV HD Episodes
23 Music/MP3
25 Music/FLAC
27 Games/PC ISO
28 Games/PC RIP
40 Games/PS3
32 Games/XBOX-360
33 Software/PC ISO
35 e-Books

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rarbg-1.2.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

rarbg-1.2.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file rarbg-1.2.1.tar.gz.

File metadata

  • Download URL: rarbg-1.2.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Darwin/18.6.0

File hashes

Hashes for rarbg-1.2.1.tar.gz
Algorithm Hash digest
SHA256 1abdf5d2413bdf15515a0b1549d9543ca8779430bfad5f2de8dfce22d7272db0
MD5 32c0e7ea099a3a6d884709ecfcf1a7c7
BLAKE2b-256 095cdee0c3fd90122d7362dfac625f6dbd2e19659982255b0faad0e46f079981

See more details on using hashes here.

File details

Details for the file rarbg-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: rarbg-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Darwin/18.6.0

File hashes

Hashes for rarbg-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf12f1ef0d13f8c5cefc17260d9b72d4a5d0c82493788800a3224096578ebaa
MD5 bd8fab19e3ae7682d6a5e6ce98907876
BLAKE2b-256 91b09bfa4b33597476cd6e7060ad522abaae811cf468ff9c46b06009c6328cd7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page