From e04f7423be10a91f36556d1b36d60cd484b35b29 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 25 Jun 2023 16:45:18 +1200 Subject: [PATCH] rptorrents: removed. resolves #5368 --- README.md | 1 - src/Jackett.Common/Definitions/rptorrents.yml | 167 ------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 168 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/rptorrents.yml diff --git a/README.md b/README.md index a2261ea82..9fe181a96 100644 --- a/README.md +++ b/README.md @@ -508,7 +508,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * RetroFlix * RevolutionTT * Romanian Metal Torrents (RMT) [![(invite needed)][inviteneeded]](#) - * RPTorrents * SceneHD [![(invite needed)][inviteneeded]](#) * SceneRush * SceneTime diff --git a/src/Jackett.Common/Definitions/rptorrents.yml b/src/Jackett.Common/Definitions/rptorrents.yml deleted file mode 100644 index 785c18fcb..000000000 --- a/src/Jackett.Common/Definitions/rptorrents.yml +++ /dev/null @@ -1,167 +0,0 @@ ---- -id: rptorrents -name: RPTorrents -description: "RPTorrents is a Private tracker for MOVIES / TV / GENERAL" -language: en-US -type: private -encoding: UTF-8 -links: - - https://rptorrents.com/ - -caps: - categorymappings: - - {id: 1, cat: PC/Games, desc: "Games PC"} - - {id: 35, cat: PC/Games, desc: "Games Pack"} - - {id: 2, cat: PC/0day, desc: "Apps Windows"} - - {id: 3, cat: PC/Mac, desc: "Apps Mac"} - - {id: 4, cat: PC, desc: "Apps Linux"} - - {id: 34, cat: PC/Mobile-Other, desc: "Apps Mobile"} - - {id: 6, cat: TV/Anime, desc: "Movie Cartoons"} - - {id: 37, cat: Movies/SD, desc: "Movies SD"} - - {id: 7, cat: Movies/WEB-DL, desc: "Movies WEB-DL"} - - {id: 32, cat: Movies/UHD, desc: "Movies 4k"} - - {id: 9, cat: Movies/HD, desc: "Movies HD"} - - {id: 10, cat: Movies/3D, desc: "Movies 3D"} - - {id: 11, cat: Movies, desc: "Movies Pack"} - - {id: 12, cat: Movies/BluRay, desc: "Movies Bluray"} - - {id: 33, cat: Movies/HD, desc: "Movies Full-HD"} - - {id: 40, cat: Movies/DVD, desc: "Movies DVD"} - - {id: 41, cat: Movies/SD, desc: "Movies Xvid"} - - {id: 14, cat: TV/HD, desc: "TV HD"} - - {id: 15, cat: TV/WEB-DL, desc: "TV WEB-DL"} - - {id: 16, cat: TV/SD, desc: "TV SD"} - - {id: 17, cat: TV, desc: "TV Pack"} - - {id: 18, cat: TV/Documentary, desc: "TV Documentary"} - - {id: 19, cat: Audio/MP3, desc: "Music MP3"} - - {id: 20, cat: Audio/Lossless, desc: "Music Flac"} - - {id: 23, cat: Audio, desc: "Music Pack"} - - {id: 22, cat: Audio/Video, desc: "Music Video"} - - {id: 36, cat: XXX, desc: "Movie XXX"} - - {id: 38, cat: Books/EBook, desc: "Books eBooks"} - - {id: 39, cat: Audio/Audiobook, desc: "Books Audio"} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -settings: - - name: username - type: text - label: Username - - name: password - type: password - label: Password - - name: freeleech - type: checkbox - label: Search freeleech only - default: false - - name: sort - type: select - label: Sort requested from site - default: id - options: - id: created - seeders: seeders - size: size - name: title - - name: type - type: select - label: Order requested from site - default: desc - options: - desc: desc - asc: asc - -login: - path: account-login.php - method: post - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - remember: yes - error: - - selector: div.myFrame-caption:contains("Access Denied") - message: - selector: div.myFrame-content - test: - path: torrents-search.php - selector: a[href="account-logout.php"] - -search: - paths: - - path: torrents-search.php - inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ .Keywords }}" - # 0 any sub, 2 RO sub - inclrosub: 0 - # 0 active, 1 incldead, 2 onlydead - incldead: 1 - # 0 inclfree, 1 notfree, 2 onlyfree - freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" - # 0 both, 1 localonly, 2 extonly - inclexternal: 0 - # 0 all, 1 English, 2 etc... - lang: 0 - sort: "{{ .Config.sort }}" - order: "{{ .Config.type }}" - - rows: - selector: tr.t-row - - fields: - category: - selector: a[href^="torrents.php?cat="] - attribute: href - filters: - - name: querystring - args: cat - title: - selector: a[href^="torrents-details.php?id="] - attribute: title - details: - selector: a[href^="torrents-details.php?id="] - attribute: href - download: - selector: a[href^="download.php?id="] - attribute: href - imdbid: - selector: a[href*="imdb.com/title/tt"] - attribute: href - size: - selector: td:nth-child(4) - date: - selector: td:nth-child(5) - filters: - - name: append - args: " +02:00" # EET - - name: dateparse - args: "dd.MM.yyyyHH:mm:ss zzz" - grabs: - selector: td:nth-child(7) - seeders: - selector: td:nth-child(8) - leechers: - selector: td:nth-child(9) - downloadvolumefactor: - case: - img[src="images/free.gif"]: 0 - img[src="images/t_extern.png"]: 0 - "*": 1 - uploadvolumefactor: - case: - img[src="images/t_extern.png"]: 0 - "*": 1 - genre: - selector: td div - filters: - - name: regexp - args: "Genre: (.+?)$" - description: - text: "{{ .Result.genre }}" - minimumratio: - text: 1.0 -# TorrentTrader-Ro 3.0 diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 812bdd2df..6b7cf8f63 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -522,6 +522,7 @@ namespace Jackett.Updater "Definitions/rockhardlossless.yml", "Definitions/rodvd.yml", "Definitions/rofd.yml", + "Definitions/rptorrents.yml", "Definitions/rus-media.yml", "Definitions/scenefz.yml", // migrated to C# XtremeZone base tracker "Definitions/scenehd.yml", // migrated to C# (use JSON API)