From 70d9fbb721dda44d6e2d0e6d79397077d0dad842 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 13 Dec 2024 04:19:38 +1300 Subject: [PATCH] thesceneplace: removed. resolves #11433 --- README.md | 1 - .../Definitions/thesceneplace.yml | 187 ------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 188 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/thesceneplace.yml diff --git a/README.md b/README.md index 26cf0a3ec..41f526be5 100644 --- a/README.md +++ b/README.md @@ -570,7 +570,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * TheEmpire (TE) * TheLeachZone (TLZ) * ThePiratedShip - * TheScenePlace (TSP) * TJUPT (北洋园PT) * TLFBits [![(invite needed)][inviteneeded]](#) * TmGHuB [![(invite needed)][inviteneeded]](#) diff --git a/src/Jackett.Common/Definitions/thesceneplace.yml b/src/Jackett.Common/Definitions/thesceneplace.yml deleted file mode 100644 index 6eda1a89d..000000000 --- a/src/Jackett.Common/Definitions/thesceneplace.yml +++ /dev/null @@ -1,187 +0,0 @@ ---- -id: thesceneplace -name: TheScenePlace -description: "TheScenePlace (TSP) is a Private site for TV / MOVIES / GENERAL" -language: en-US -type: private -encoding: UTF-8 -links: - - https://www.thesceneplace.com/ -legacylinks: - - http://www.thesceneplace.com/ # site is no longer forcing http - -caps: - categorymappings: - - {id: 13, cat: PC, desc: "Apps"} - - {id: 15, cat: TV/HD, desc: "TV x264"} - - {id: 16, cat: TV/HD, desc: "TV x265"} - - {id: 17, cat: TV/SD, desc: "TV XVID"} - - {id: 18, cat: TV, desc: "TV PACKS"} - - {id: 25, cat: TV, desc: "TV KIDS"} - - {id: 38, cat: TV/SD, desc: "TV 480p"} - - {id: 20, cat: Movies/HD, desc: "Movies x264"} - - {id: 21, cat: Movies/HD, desc: "Movies x265"} - - {id: 22, cat: Movies/SD, desc: "Movies XVID"} - - {id: 23, cat: Movies, desc: "Movies PACKS"} - - {id: 24, cat: Movies, desc: "Movies KIDS"} - - {id: 35, cat: Movies/UHD, desc: "Movies 4K/UHD"} - - {id: 36, cat: Movies/BluRay, desc: "Movies BluRay"} - - {id: 37, cat: Movies/SD, desc: "Movies 480p"} - - {id: 27, cat: Audio/MP3, desc: "Music MP3"} - - {id: 28, cat: Audio/Lossless, desc: "Music FLAC"} - - {id: 29, cat: Audio, desc: "Music PACKS"} - - {id: 34, cat: Audio, desc: "Music Karaoke "} - - {id: 30, cat: Books/EBook, desc: "eBooks"} - - {id: 32, cat: PC/Games, desc: "Games PC"} - - {id: 33, cat: Console, desc: "Games ROMS"} - - {id: 39, cat: Other, desc: "Misc"} - - 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: Filter freeleech only - default: false - - name: sort - type: select - label: Sort requested from site - default: 3 - options: - 3: created - 5: seeders - 4: size - 2: title - - name: type - type: select - label: Order requested from site - default: 2 - options: - 2: desc - 1: asc - - name: info - type: info - label: Results Per Page - default: For best results, change the Torrents per page: setting to 100 on your account profile. - -login: - path: index.php?page=login - method: post - inputs: - uid: "{{ .Config.username }}" - pwd: "{{ .Config.password }}" - error: - - selector: tr td span[style="color:#FF0000;"] - test: - path: index.php - selector: a[href="logout.php"] - -search: - paths: - - path: index.php - inputs: - page: torrents - search: "{{ .Keywords }}" - category: "{{ range .Categories }}{{.}};{{end}}" - # 0 filename, 1 file&descr, 2 descr, 3 uploaders, 5 gold, 6 silver, 7 bronze - options: 0 - # 0 all, 1 active only, 2 dead only - active: 0 - order: "{{ .Config.sort }}" - by: "{{ .Config.type }}" - # does not support imdbid search and does not return imdb link in results - - keywordsfilters: - - name: re_replace - args: ["\\.", " "] - - rows: - selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(td[width=\"30\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}{{ if .Config.freeleech }}, table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(td[width=\"30\"]):has(img[src=\"images/gold.gif\"]){{ else }}{{ end }}" - - fields: - title_torrent: - selector: a[href^="download.php?id="] - attribute: href - filters: - - name: querystring - args: f - - name: htmldecode - - name: re_replace - args: ["(?i)\\.torrent$", ""] - title_text: - selector: a[href^="index.php?page=torrent-details&id="] - category: - selector: a[href^="index.php?page=torrents&category="] - attribute: href - filters: - - name: querystring - args: category - title: - text: "{{ if .Result.title_torrent }}{{ .Result.title_torrent }}{{ else }}{{ .Result.title_text }}{{ end }}" - poster: - selector: a[href^="index.php?page=torrent-details&id="] - attribute: onmouseover - filters: - - name: regexp - args: "src=(.*?) " - - name: replace - args: ["torrentimg/nocover.jpg", ""] - details: - selector: a[href^="index.php?page=torrent-details&id="] - attribute: href - download: - selector: a[href^="download.php?id="] - attribute: href - _uploader: - selector: a[href^="index.php?page=userdetails"] - optional: true - date: - selector: td:has(a[href^="download.php?id="]) ~ td - # auto adjusted by site account profile - filters: - - name: dateparse - args: "dd/MM/yyyy" - seeders: - selector: td:has(a[href^="download.php?id="]) ~ td ~ td - leechers: - selector: td:has(a[href^="download.php?id="]) ~ td ~ td ~ td - grabs: - selector: td:has(a[href^="download.php?id="]) ~ td ~ td ~ td ~ td - size: - selector: "td:has(a[href^=\"download.php?id=\"]) ~ td ~ td ~ td ~ td ~ td{{ if .Result._uploader }} ~ td{{ else }}{{ end }}" - downloadvolumefactor: - case: - img[src="images/freeleech.gif"]: 0 - img[src="images/gold.gif"]: 0 - img[src="images/silver.gif"]: 0.5 - img[src="images/bronze.gif"]: 0.75 - "*": 1 - uploadvolumefactor: - case: - img[src="images/2x.gif"]: 2 - img[src="images/3x.gif"]: 3 - img[src="images/4x.gif"]: 4 - img[src="images/5x.gif"]: 5 - img[src="images/6x.gif"]: 6 - img[src="images/7x.gif"]: 7 - img[src="images/8x.gif"]: 8 - img[src="images/9x.gif"]: 9 - img[src="images/10x.gif"]: 10 - "*": 1 - minimumratio: - text: 1.0 - minimumseedtime: - # 7 days (as seconds = 7 x 24 x 60 x 60) - text: 604800 -# xbtitFM v3.1.00 diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 35012855d..de029b36b 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -670,6 +670,7 @@ namespace Jackett.Updater "Definitions/themoviecave.yml", "Definitions/therebels-api.yml", "Definitions/theresurrection.yml", + "Definitions/thesceneplace.yml", "Definitions/theshinning.yml", // switch to *-API #13751 "Definitions/thespit.yml", "Definitions/thetorrents.yml",