From 433709b57a687b103635f2ded66faf1f8a0c2ba2 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 29 Nov 2024 05:20:28 +1300 Subject: [PATCH] rptscene: removed. resolves #5368 --- README.md | 1 - src/Jackett.Common/Definitions/rptscene.yml | 177 -------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 178 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/rptscene.yml diff --git a/README.md b/README.md index aa5c3e514..41f84cb59 100644 --- a/README.md +++ b/README.md @@ -524,7 +524,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Romanian Metal Torrents (RMT) * RoTorrent * Rousi - * RPTScene (RPTorrents) * SATClubbing * SceneHD [![(invite needed)][inviteneeded]](#) * SceneRush diff --git a/src/Jackett.Common/Definitions/rptscene.yml b/src/Jackett.Common/Definitions/rptscene.yml deleted file mode 100644 index 77c96feaf..000000000 --- a/src/Jackett.Common/Definitions/rptscene.yml +++ /dev/null @@ -1,177 +0,0 @@ ---- -id: rptscene -name: RPTScene -description: "RPTScene is a Private tracker for MOVIES / TV / GENERAL" -language: en-US -type: private -encoding: UTF-8 -links: - - https://rptscene.xyz/ -legacylinks: - - https://rpthd.com/ - -caps: - categorymappings: - - {id: 6, cat: PC/0day, desc: "Apps: Windows"} - - {id: 7, cat: PC/Mac, desc: "Apps: Mac"} - - {id: 8, cat: PC, desc: "Apps: Linux"} - - {id: 75, cat: Movies/DVD, desc: "Movies: DVD"} - - {id: 26, cat: Movies/BluRay, desc: "Movies: Blu-Ray"} - - {id: 42, cat: Movies/HD, desc: "Movies: FHD-HD"} - - {id: 50, cat: Movies/WEB-DL, desc: "Movies: Web-Dl"} - - {id: 74, cat: Movies/SD, desc: "Movies: SD"} - - {id: 49, cat: Movies/UHD, desc: "Movies: 4k"} - - {id: 46, cat: Movies/3D, desc: "Movies: 3D"} - - {id: 24, cat: Movies, desc: "Movies: Packs"} - - {id: 28, cat: Movies/Other, desc: "Movies: Cartoons"} - - {id: 47, cat: XXX, desc: "Movies: XXX"} - - {id: 41, cat: TV/HD, desc: "TV: HD"} - - {id: 52, cat: TV/WEB-DL, desc: "TV: WEB-DL"} - - {id: 48, cat: TV, desc: "TV: Packs"} - - {id: 9, cat: TV/Documentary, desc: "TV: Documentaries"} - - {id: 22, cat: Audio/MP3, desc: "Music: MP3"} - - {id: 23, cat: Audio/Lossless, desc: "Music: FLAC"} - - {id: 25, cat: Audio/Video, desc: "Music: Video"} - - {id: 27, cat: Audio, desc: "Music: Pack"} - - {id: 53, cat: PC/Games, desc: "Games: Pc"} - - {id: 54, cat: Console, desc: "Games: PsP"} - - {id: 76, cat: Audio/Audiobook, desc: "Books: Audio"} - - {id: 77, cat: Books/EBook, desc: "Books: eBooks"} - - {id: 78, cat: TV/UHD, desc: "TV: 4k"} - - modes: - search: [q] - tv-search: [q, season, ep, imdbid] - movie-search: [q, imdbid] - 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 - - name: info_results - type: info - label: Search results - default: "If you are not getting results, then access the site with your browser and mark as read all PMs." - - name: info_activity - type: info - label: Account Inactivity - default: "Be active here, you must login at least once a month. Also, not downloading anything is considered being inactive (except if you're an uploader or VIP). The accounts inactive for 3 months are deleted." - -login: - path: account-login.php - method: post - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: div.myFrame:contains("Access Denied") - test: - path: index.php - selector: a[href^="account-logout.php"] - -search: - paths: - # https://rptscene.xyz/torrents-search.php?c22=1&c23=1&c76=1&c77=1&search=&incldead=0&freeleech=0&inclrosub=0 - - path: torrents-search.php - inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search - # 0 only active 1 incl dead 2 only dead - incldead: 1 - # 0 all 1 not freeleech 2 only freeleech - freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" - sort: "{{ .Config.sort }}" - order: "{{ .Config.type }}" - - rows: - selector: table.ttable_headinner > tbody > tr - - 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 - poster: - selector: a[href^="torrents-details.php?id="]:not(a[onmouseover*="images/nocover.png"]) - attribute: onmouseover - filters: - - name: regexp - args: src=([^\s]+) - imdbid: - selector: a[href*="imdb.com/title/tt"] - attribute: href - size: - selector: td:nth-child(4) - date: - # 15.11.21
07:47 - selector: td:nth-child(5) - # auto adjusted by site account profile - filters: - - name: dateparse - args: "d.MM.yyHH:mm" - grabs: - selector: td:nth-child(7) - seeders: - selector: td:nth-child(8) - leechers: - selector: td:nth-child(9) - genre: - selector: a:contains("Genre:") - filters: - - name: replace - args: ["Genre: ", ""] - _source: - case: - img[src="images/t_extern.png"]: External - "*": Local - description: - text: "{{ .Result._source }} - {{ .Result.genre }}" - downloadvolumefactor: - case: - img[src="images/t_extern.png"]: 0 - img[src="images/free.png"]: 0 - "*": 1 - uploadvolumefactor: - text: 1 - minimumratio: - text: 1.0 - minimumseedtime: - # 1 day (as seconds = 24 x 60 x 60) - text: 86400 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 76d0cc58c..b227a60f3 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -608,6 +608,7 @@ namespace Jackett.Updater "Definitions/rofd.yml", "Definitions/rptorrents.yml", "Definitions/rptorrents-api.yml", // renamed to rptscene-api + "Definitions/rptscene.yml", "Definitions/rptscene-api.yml", // changed engine, new indexer rptscene #5368 "Definitions/rus-media.yml", "Definitions/scenefz.yml", // migrated to C# XtremeZone base tracker