therarbg: add new public site. resolves #14685 (#14733)

This commit is contained in:
ilike2burnthing 2023-09-30 17:40:22 +01:00 committed by GitHub
parent 04192e4151
commit bacd745a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 106 additions and 0 deletions

View File

@ -118,6 +118,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* SubsPlease
* sukebei.Nyaa.si
* The Pirate Bay (TPB)
* TheRARBG
* Tokyo Tosho
* Torlock
* Torrent[CORE]

View File

@ -0,0 +1,105 @@
---
id: therarbg
name: TheRARBG
description: "TheRARBG is a Public site inspired by RARBG.to for TV / MOVIES / GENERAL"
language: en-US
type: public
encoding: UTF-8
links:
- https://therarbg.com/
- https://t-rb.org/
- https://the.rarbg.club/
- https://trb.archivebay.online/
- https://trb.t-pb.org/
- https://trb.themirror.wiki/
- https://torrentlite.org/ # fork
caps:
categorymappings:
- {id: Movies, cat: Movies, desc: "Movies"}
- {id: TV, cat: TV, desc: "TV"}
- {id: Games, cat: PC/Games, desc: "Games"}
- {id: Music, cat: Audio, desc: "Music"}
- {id: Anime, cat: TV/Anime, desc: "Anime"}
- {id: Documentaries, cat: TV/Documentary, desc: "Documentaries"}
- {id: Apps, cat: PC/0day, desc: "Apps"}
- {id: Other, cat: Other, desc: "Other"}
- {id: Books, cat: Books, desc: "Books"}
- {id: XXX, cat: XXX, desc: "XXX"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: sort
type: select
label: Sort requested from site (Only works for searches with Keywords)
default: -a
options:
-a: created desc
a: created asc
-se: seeders desc
se: seeders asc
-s: size desc
s: size asc
download:
selectors:
- selector: a[href^="magnet:?xt="]
attribute: href
search:
paths:
- path: "{{ if or .Keywords .Query.IMDBID }}/get-posts/keywords:{{ or .Keywords .Query.IMDBID }}{{ range .Categories }}:category:{{.}}{{end}}:order:{{ .Config.sort }}{{ else }}{{ end }}"
rows:
selector: table > tbody > tr
fields:
category:
selector: a[href^="/get-posts/category:"]
title:
selector: a[href^="/post-detail/"]
details:
selector: a[href^="/post-detail/"]
attribute: href
download:
selector: a[href^="/post-detail/"]
attribute: href
poster_src:
selector: span#fade.tooltip img
attribute: src
optional: true
poster:
selector: span#fade.tooltip img
attribute: data-src
optional: true
default: "{{ .Result.poster_src }}"
filters:
- name: re_replace
args: ["https://i.therarbg.com/np.jpg", ""]
imdbid:
selector: a[href^="/imdb-detail/tt"]
attribute: href
filters:
- name: regexp
args: "/imdb-detail/(.+?)/"
date:
selector: td:nth-child(5)
filters:
- name: timeago
size:
selector: td.sizeCell
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a