All Projects → grantholle → rarbg

grantholle / rarbg

Licence: MIT license
A wrapper for RARBG's api in Node

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rarbg

IMDb-Scout-Mod
Auto search for movie/series on torrent, usenet, ddl, subtitles, streaming, predb and other sites. Adds links to IMDb pages from hundreds various sites. Adds movies/series to Radarr/Sonarr. Adds external ratings from Metacritic, Rotten Tomatoes, Letterboxd, Douban, Allocine. Media Server indicators for Plex, Jellyfin, Emby. Dark theme/style for …
Stars: ✭ 177 (+704.55%)
Mutual labels:  torrents, rarbg
Sickchill
Less rage, more chill.
Stars: ✭ 2,166 (+9745.45%)
Mutual labels:  torrents, rarbg
Arch Rtorrentvpn
Docker build script for Arch Linux base with ruTorrent, rTorrent, autodl-irssi, Privoxy and OpenVPN
Stars: ✭ 185 (+740.91%)
Mutual labels:  torrents
cl-torrents
Searching torrents on popular trackers - CLI, readline, GUI, web client. Tutorial and binaries (issue tracker on https://gitlab.com/vindarel/cl-torrents/)
Stars: ✭ 83 (+277.27%)
Mutual labels:  torrents
RARBG-scraper
With Selenium headless browsing and CAPTCHA solving
Stars: ✭ 38 (+72.73%)
Mutual labels:  rarbg
Gazelle
Stars: ✭ 186 (+745.45%)
Mutual labels:  torrents
rarbgapi
A python interface of RARBG.to
Stars: ✭ 67 (+204.55%)
Mutual labels:  rarbg
Cloudbox
Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
Stars: ✭ 1,763 (+7913.64%)
Mutual labels:  torrents
Cross-Seed-AutoDL
Scans files and finds cross-seedable torrents via Jackett
Stars: ✭ 112 (+409.09%)
Mutual labels:  torrents
torrent-hound
Search torrents from multiple websites via the CLI
Stars: ✭ 28 (+27.27%)
Mutual labels:  torrents
rarbg
Ruby client for the RARBG Torrent API.
Stars: ✭ 17 (-22.73%)
Mutual labels:  rarbg
Qbittorrent Controller
qBittorrent Controller - An Android app for controlling qBittorrent servers
Stars: ✭ 205 (+831.82%)
Mutual labels:  torrents
PeerflixServerZH
🚀 Peerflix Server(BT) 汉化、美化
Stars: ✭ 32 (+45.45%)
Mutual labels:  torrents
rarbg-api
A simple node.js wrapper for rarbg.to api
Stars: ✭ 21 (-4.55%)
Mutual labels:  rarbg
Goirate
Pillaging the seven seas for torrents, pieces of eight and other bounty.
Stars: ✭ 20 (-9.09%)
Mutual labels:  torrents
Watcher
Stars: ✭ 137 (+522.73%)
Mutual labels:  torrents
transmission
Interacts with Transmission with Node and promises 😚
Stars: ✭ 21 (-4.55%)
Mutual labels:  torrents
qBit-plugins
Search plugins for qBittorrent
Stars: ✭ 40 (+81.82%)
Mutual labels:  torrents
tdpt
Torrent downloading progress on Telegram
Stars: ✭ 32 (+45.45%)
Mutual labels:  torrents
deluge-updatorr
Deluge plugin for automatic torrents updates
Stars: ✭ 19 (-13.64%)
Mutual labels:  torrents

RARBG

npm

This is a very simple rarbg api wrapper in Node using Promises.

Installation

$ npm i rarbg --save

Usage

const RarbgApi = require('rarbg')

// Create a new instance of the module
const rarbg = new RarbgApi()

// Or create a new instance with different configuration
const rarbg = new RarbgApi({
  host: 'torrentapi.org',
  path: '/pubapi_v2.php?',
  app_id: 'my_application',
  user_agent: 'My Application 0.0.1'
})

Methods

There are two methods, search() and list() that you can use. The search() method takes an object of options (see below) for various searching and sorting capabilities. Both methods return an array of objects containing filename, category, and download properties, or an error in the case of nothing being found or a different error.

// Searching by various parameters
rarbg.search({
    search_string: 'star wars',
    sort: 'seeders',
    category: rarbg.categories.MOVIES_X264_1080,
    min_seeders: 50
  }).then(response => {
    console.log(response)
    // Output:
    // [
    //   {
    //     "filename": "Star.Wars.Episode.VII.The.Force.Awakens.2015.1080p.BluRay.H264.AAC-RARBG",
    //     "category": "Movies/x264/1080",
    //     "download": "magnet:?xt=urn:btih:..."
    //   },
    //   {
    //     "filename": "Star.Wars.Episode.VII.The.Force.Awakens.2015.1080p.BluRay.x264-Replica",
    //     "category": "Movies/x264/1080",
    //     "download": "magnet:?xt=urn:btih:..."
    //   }
    // ]
  }).catch(console.error)

// List recent torrents
rarbg.list().then(response => {
    console.log(response)
    // Output:
    // [
    //   {
    //     "filename": "Those.Who.Cant.S02E02.HDTV.x264-AMBIT[rartv]",
    //     "category": "TV Episodes",
    //     "download": "magnet:?xt=urn:btih:..."
    //   },
    //   {
    //     "filename": "Those.Who.Cant.S02E02.720p.HDTV.x264-AMBIT[rartv]",
    //     "category": "TV HD Episodes",
    //     "download": "magnet:?xt=urn:btih:..."
    //   }
    //   ...
    // ]
  }).catch(console.error)

Options

Searching

  • search_string: The string to search
  • search_imdb: Search by imdb id
  • search_tvdb: Search by tvdb id
  • search_themoviedb: Search by TMdb id

Categories

  • category: The only two string values can be 'movies' and 'tv', but you can use the following constants:
rarbg.categories.XXX
rarbg.categories.MOVIES_XVID
rarbg.categories.MOVIES_XVID_720
rarbg.categories.MOVIES_X264
rarbg.categories.MOVIES_X264_1080
rarbg.categories.MOVIES_X264_720
rarbg.categories.MOVIES_X264_3D
rarbg.categories.MOVIES_X264_4K
rarbg.categories.MOVIES_X265_4K
rarbg.categories.MOVIES_X265_4K_HDR
rarbg.categories.MOVIES_FULL_BD
rarbg.categories.MOVIES_BD_REMUX
rarbg.categories.TV_EPISODES
rarbg.categories.TV_HD_EPISODES
rarbg.categories.MUSIC_MP3
rarbg.categories.MUSIC_FLAC
rarbg.categories.GAMES_PC_ISO
rarbg.categories.GAMES_PC_RIP
rarbg.categories.GAMES_PS3
rarbg.categories.GAMES_XBOX_360
rarbg.categories.SOFTWARE_PC_ISO
rarbg.categories.E_BOOKS

// `category` can be an array to search in more than one category
rarbg.search({
  search_string: 'star wars',
  category: [rarbg.categories.MOVIES_X264_1080, rarbg.categories.MOVIES_X264_720]
}).then(res => {
  //
})

Sorting

  • sort: Possible values are 'seeders', 'leechers', or 'last'

Limiting

  • limit: Possible values are 25, 50, or 100. Default is 25

Minimum seeders/leechers

  • min_seeders: Numerical value for the minimum seeders available
  • min_leechers: Numerical value for the minimum leechers available

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].