From 29caa4f1340c26359ba1179a06b68e4aea765dfe Mon Sep 17 00:00:00 2001
From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
Date: Mon, 20 Dec 2021 21:36:01 +0000
Subject: [PATCH] devilsplayground: removed, down for 30 days. resolves #12079
(#12721)
---
README.md | 1 -
.../Definitions/devilsplayground.yml | 173 ------------------
.../Services/IndexerManagerService.cs | 2 -
src/Jackett.Updater/Program.cs | 1 +
4 files changed, 1 insertion(+), 176 deletions(-)
delete mode 100644 src/Jackett.Common/Definitions/devilsplayground.yml
diff --git a/README.md b/README.md
index fa2f87939..4c5f73641 100644
--- a/README.md
+++ b/README.md
@@ -444,7 +444,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* MyAnonamouse (MAM)
* MySpleen [![(invite needed)][inviteneeded]](#)
* NBTorrents [![(invite needed)][inviteneeded]](#)
- * Nbytez
* NCore
* Nebulance (NBL) (TransmiTheNet)
* NetCosmo
diff --git a/src/Jackett.Common/Definitions/devilsplayground.yml b/src/Jackett.Common/Definitions/devilsplayground.yml
deleted file mode 100644
index 7a97bbfbb..000000000
--- a/src/Jackett.Common/Definitions/devilsplayground.yml
+++ /dev/null
@@ -1,173 +0,0 @@
----
-id: devilsplayground
-name: Devils-Playground
-description: "Devils-Playground (Nbytez) is a Private Torrent Tracker for MOVIES / TV / GENERAL"
-language: en-GB
-type: private
-encoding: UTF-8
-links:
- - http://devils-playground.org/
-legacylinks:
- - https://devils-playground.org/
- - https://nbytez.me/
- - http://nbytez.me/
-
-caps:
- categorymappings:
- - {id: 3, cat: PC, desc: "Apps"}
- - {id: 4, cat: Books/EBook, desc: "Ebooks"}
- - {id: 22, cat: PC/Games, desc: "Games"}
- - {id: 15, cat: Movies, desc: "Movies"}
- - {id: 19, cat: Movies/UHD, desc: "Movies/Bluray"}
- - {id: 20, cat: Movies, desc: "Movies/Packs"}
- - {id: 17, cat: Movies/WEB-DL, desc: "Movies/Webrip"}
- - {id: 16, cat: Movies/HD, desc: "Movies/x265"}
- - {id: 18, cat: Movies/SD, desc: "Movies/XVID"}
- - {id: 10, cat: Audio, desc: "Music/"}
- - {id: 12, cat: Audio/Lossless, desc: "Music/FLAC"}
- - {id: 11, cat: Audio/MP3, desc: "Music/MP3"}
- - {id: 14, cat: Audio, desc: "Music/Packs"}
- - {id: 13, cat: Audio, desc: "Music/Top UK 40"}
- - {id: 5, cat: TV, desc: "TV"}
- - {id: 9, cat: TV, desc: "TV/Packs"}
- - {id: 6, cat: TV/HD, desc: "TV/x254"}
- - {id: 7, cat: TV/HD, desc: "TV/x255"}
- - {id: 8, cat: TV/SD, desc: "TV/XVID"}
-
- 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: Filter freeleech only
- default: false
- - name: sort
- default: added
- options:
- added: 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_tpp
- type: info
- label: Results Per Page
- default: For best results, change the Torrents per page: setting to 40 on your account profile. The default is 15.
-
-login:
- path: takelogin.php
- method: post
- inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- error:
- - selector: table:has(a[href*="login.php?error=1"])
- message:
- text: "ERROR: Incorrect username!"
- - selector: table:has(a[href*="login.php?error=4"])
- message:
- text: "ERROR: Incorrect password!"
- - selector: table:has(a[href*="login.php?error="])
- message:
- text: "ERROR: Something went wrong during login!"
- test:
- path: index.php
- selector: a[href*="logout.php?logouthash="]
-
-search:
- paths:
- - path: browse.php
- inputs:
- do: search
- # does not support multi categories so defaulting to ALL
- category: 0
- # yes incldead, no activeonly
- include_dead_torrents: yes
- keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
- # t_name, t_description, t_both, t_uploader, t_genre
- search_type: "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}"
- sort: "{{ .Config.sort }}"
- order: "{{ .Config.type }}"
- # does not return imdb link in results
- keywordsfilters:
- - name: re_replace # replace special characters with "%" (wildcard)
- args: ["[^a-zA-Z0-9]+", "%"]
-
- rows:
- selector: "table#sortabletable tbody tr:has(a[href*=\"download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
-
- fields:
- category:
- selector: a[href*="browse.php?category="]
- attribute: href
- filters:
- - name: querystring
- args: category
- title_default:
- # is often abbreviated
- selector: a[href*="details.php?id="]
- title_optional:
- # usually longer than details title
- selector: div[id^="port-content-"] div
- optional: true
- title:
- text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
- details:
- selector: a[href*="details.php?id="]
- attribute: href
- download:
- selector: a[href*="download.php?id="]
- attribute: href
- poster:
- selector: div[id^="port-content-"] img
- attribute: src
- date:
- selector: td:nth-child(2) > div:last-child
- filters:
- - name: regexp
- args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2})
- - name: append
- args: " +00:00" # auto adjusted by site account profile
- - name: dateparse
- args: "02-01-2006 15:04 -07:00"
- size:
- selector: td:nth-child(5)
- grabs:
- selector: td:nth-child(6)
- seeders:
- selector: td:nth-child(7)
- leechers:
- selector: td:nth-child(8)
- downloadvolumefactor:
- case:
- img[src$="/freedownload.gif"]: 0
- img[src$="/silverdownload.gif"]: 0.5
- "*": 1
- uploadvolumefactor:
- case:
- img[src$="/x2.gif"]: 2
- "*": 1
-# TBD, Rules and FAQ do not cover this yet
-# minimumratio:
-# text: 1.0
-# minimumseedtime:
-# # 2 days (as seconds = 2 x 24 x 60 x 60)
-# text: 172800
-# TS Special Edition v.7.5
diff --git a/src/Jackett.Common/Services/IndexerManagerService.cs b/src/Jackett.Common/Services/IndexerManagerService.cs
index a7e602a17..68e3bf980 100644
--- a/src/Jackett.Common/Services/IndexerManagerService.cs
+++ b/src/Jackett.Common/Services/IndexerManagerService.cs
@@ -44,12 +44,10 @@ namespace Jackett.Common.Services
{"broadcastthenet", "broadcasthenet"},
{"hdreactor", "hdhouse"},
{"icetorrent", "speedapp"},
- {"feedurneed", "devils-playground"},
{"kickasstorrent-kathow", "kickasstorrents-ws"},
{"legacyhd", "reelflix"},
{"leaguehd", "lemonhd"},
{"metaliplayro", "romanianmetaltorrents"},
- {"nbytez", "devils-playground"},
{"nnm-club", "noname-club"},
{"passtheheadphones", "redacted"},
{"puntorrent", "puntotorrent"},
diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs
index 1535a019e..ac5619091 100644
--- a/src/Jackett.Updater/Program.cs
+++ b/src/Jackett.Updater/Program.cs
@@ -303,6 +303,7 @@ namespace Jackett.Updater
"Definitions/demonsite.yml",
"Definitions/desireleasers.yml",
"Definitions/devils-playground.yml",
+ "Definitions/devilsplayground.yml",
"Definitions/digbt.yml",
"Definitions/documentarytorrents.yml",
"Definitions/downloadville.yml",