diff --git a/definitions/v10/dark-shadow.yml b/definitions/v10/dark-shadow.yml
index 8f3f23cb8..549e0f2f1 100644
--- a/definitions/v10/dark-shadow.yml
+++ b/definitions/v10/dark-shadow.yml
@@ -119,6 +119,8 @@ search:
filters:
- name: replace
args: [">", ">"]
+ - name: replace
+ args: ["'", "'"]
title:
selector: name
filters:
diff --git a/definitions/v10/eztv.yml b/definitions/v10/eztv.yml
index 8e3e40adb..620b98f8d 100644
--- a/definitions/v10/eztv.yml
+++ b/definitions/v10/eztv.yml
@@ -41,6 +41,9 @@ search:
- path: "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}home{{ end }}"
keywordsfilters:
+ - name: re_replace
+ args: ["\\bS\\d{2,3}\\b", ""] # remove season tag without episode (search doesn't support it)
+ - name: trim
# fixes for site search issues - Prowlarr #1094
- name: replace
args: ["-", ""]
diff --git a/definitions/v10/gaytorrentru.yml b/definitions/v10/gaytorrentru.yml
index fa56a29f4..5cf6d8a7e 100644
--- a/definitions/v10/gaytorrentru.yml
+++ b/definitions/v10/gaytorrentru.yml
@@ -52,6 +52,7 @@ settings:
caps:
categorymappings:
+ - {id: 69, cat: XXX, desc: "AI"}
- {id: 62, cat: XXX, desc: "Amateur"}
- {id: 29, cat: XXX, desc: "Anal"}
- {id: 46, cat: XXX, desc: "Anime Games"}
diff --git a/definitions/v10/hdforever.yml b/definitions/v10/hdforever.yml
index c411a0887..95e817634 100644
--- a/definitions/v10/hdforever.yml
+++ b/definitions/v10/hdforever.yml
@@ -122,6 +122,9 @@ search:
div.cats_série: 5
div.cats_sérieanim: 6
div.cats_documentaire: 7
+ details:
+ selector: a[href^="torrents.php?id="]
+ attribute: href
download_regular:
selector: a[href^="torrents.php?action=download&"]
attribute: href
@@ -138,9 +141,56 @@ search:
optional: true
filters:
- name: trim
+ poster:
+ selector: div.group_image img
+ attribute: src
+ files:
+ selector: td:nth-child(3)
+ date:
+ selector: td:nth-child(4)
+ filters:
+ - name: replace
+ args: ["Il y a ", ""]
+ - name: replace
+ args: ["heures", "hours"]
+ - name: replace
+ args: ["heure", "hour"]
+ - name: replace
+ args: ["jours", "days"]
+ - name: replace
+ args: ["jour", "day"]
+ - name: replace
+ args: ["semaines", "weeks"]
+ - name: replace
+ args: ["semaine", "week"]
+ - name: replace
+ args: ["mois", "months"]
+ - name: replace
+ args: ["ans", "years"]
+ - name: replace
+ args: ["an", "year"]
+ - name: append
+ args: " ago"
+ 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:
+ "div.group_info:contains(\"/ Free\")": 0
+ "div.group_info:contains(\"↓75%\")": 0.75
+ "div.group_info:contains(\"↓50%\")": 0.50
+ "div.group_info:contains(\"↓25%\")": 0.25 # for this site this is the count ratio, which is 25% of the total torrent size. (I.E. it's 75% free)
+ "*": 1
+ uploadvolumefactor:
+ text: 1
title_phase1:
selector: div.group_info
- remove: span.team_name, span:nth-child(2), div.tags, div.vote_controls, div.stats-content, .add_bookmark, img
+ remove: span.team_name, span:has(a[href^="torrents.php?action=download"]), div.tags, div.vote_controls, div.stats-content, .add_bookmark, img
filters:
- name: replace
args: ["\n", " "]
@@ -257,56 +307,6 @@ search:
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
description:
selector: div.group_info
- poster:
- selector: div.group_image img
- attribute: src
- details:
- selector: a[href^="torrents.php?id="]
- attribute: href
- files:
- selector: td:nth-child(3)
- date:
- selector: td:nth-child(4)
- filters:
- - name: replace
- args: ["Il y a ", ""]
- - name: replace
- args: ["heures", "hours"]
- - name: replace
- args: ["heure", "hour"]
- - name: replace
- args: ["jours", "days"]
- - name: replace
- args: ["jour", "day"]
- - name: replace
- args: ["semaines", "weeks"]
- - name: replace
- args: ["semaine", "week"]
- - name: replace
- args: ["mois", "months"]
- - name: replace
- args: ["ans", "years"]
- - name: replace
- args: ["an", "year"]
- - name: append
- args: " ago"
- 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:
- "div.group_info:contains(\"/ Free\")": 0
- "div.group_info:contains(\"↓75%\")": 0.75
- "div.group_info:contains(\"↓50%\")": 0.50
- "div.group_info:contains(\"↓25%\")": 0.25 # for this site this is the count ratio, which is 25% of the total torrent size. (I.E. it's 75% free)
- "*": 1
- uploadvolumefactor:
- text: 1
minimumratio:
text: 0.6
minimumseedtime:
diff --git a/definitions/v10/nyaapantsu.yml b/definitions/v10/nyaapantsu.yml
index a8e713b25..64116d863 100644
--- a/definitions/v10/nyaapantsu.yml
+++ b/definitions/v10/nyaapantsu.yml
@@ -97,6 +97,8 @@ settings:
options:
false: desc
true: asc
+ - name: info_flaresolverr
+ type: info_flaresolverr
search:
paths:
diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml
index c4b3dc111..1e24b4ef3 100644
--- a/definitions/v10/rudub.yml
+++ b/definitions/v10/rudub.yml
@@ -9,9 +9,8 @@ type: semi-private
encoding: windows-1251
followredirect: true
links:
- - https://29december.rudub.online/
+ - https://30december.rudub.online/
legacylinks:
- - https://29november.rudub.online/
- https://30november.rudub.online/
- https://01december.rudub.online/
- https://02december.rudub.online/
@@ -41,6 +40,7 @@ legacylinks:
- https://26december.rudub.online/
- https://27december.rudub.online/
- https://28december.rudub.online/
+ - https://29december.rudub.online/
caps:
categorymappings:
diff --git a/definitions/v10/theshinning-api.yml b/definitions/v10/theshinning-api.yml
deleted file mode 100644
index df6ad0755..000000000
--- a/definitions/v10/theshinning-api.yml
+++ /dev/null
@@ -1,178 +0,0 @@
----
-id: theshinning-api
-name: The Shinning (API)
-description: "The Shinning (TsH) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL"
-language: de-DE
-type: private
-encoding: UTF-8
-links:
- - https://theshinning.me/
-legacylinks:
- - https://theshinning.org
- - https://theshinning.org/
-
-caps:
- categorymappings:
- - {id: 1, cat: Movies, desc: "Movies"}
- - {id: 2, cat: TV, desc: "TV"}
- - {id: 3, cat: Audio, desc: "Music"}
- - {id: 4, cat: Console, desc: "Game"}
- - {id: 5, cat: PC, desc: "Application"}
- - {id: 7, cat: TV/Sport, desc: "Wrestling"}
- - {id: 8, cat: Books, desc: "Ebooks"}
- - {id: 11, cat: Movies, desc: "TSH-Movie"}
- - {id: 12, cat: TV, desc: "TSH-Serien"}
- - {id: 13, cat: XXX, desc: "XxX"}
-
- modes:
- search: [q]
- tv-search: [q, season, ep, imdbid, tvdbid, tmdbid]
- movie-search: [q, imdbid, tmdbid]
- music-search: [q]
- book-search: [q]
-
-settings:
- - name: apikey
- type: text
- label: APIKey
- - name: info_key
- type: info
- label: About your API key
- default: "Find or Generate a new API Token by accessing your The Shinning account My Security page and clicking on the API Token tab."
- - name: freeleech
- type: checkbox
- label: Search freeleech only
- default: false
- - name: sort
- type: select
- label: Sort requested from site
- default: created_at
- options:
- created_at: 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: /api/torrents
- method: get
- inputs: {} # TODO: remove in v10
- error:
- - selector: a[href*="/login"]
- message:
- text: "The API key was not accepted by {{ .Config.sitelink }}."
- - selector: :root:contains("Account is Banned")
-
-search:
- paths:
- # https://github.com/HDInnovations/UNIT3D-Community-Edition/wiki/Torrent-API-(UNIT3D-v8.x.x)
- # https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php#L476
- - path: "/api/torrents/filter"
- response:
- type: json
-
- headers:
- Authorization: ["Bearer {{ .Config.apikey }}"]
-
- inputs:
- # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6
- $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
- name: "{{ .Keywords }}"
- seasonNumber: "{{ .Query.Season }}"
- episodeNumber: "{{ .Query.Ep }}"
- imdbId: "{{ .Query.IMDBIDShort }}"
- tmdbId: "{{ .Query.TMDBID }}"
- tvdbId: "{{ .Query.TVDBID }}"
- "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
- sortField: "{{ .Config.sort }}"
- sortDirection: "{{ .Config.type }}"
- perPage: 100
-
- keywordsfilters:
- - name: re_replace
- args: ["\\.", " "]
-
- rows:
- selector: data
- attribute: attributes
-
- fields:
- category:
- selector: category_id
- title:
- selector: name
- details:
- selector: details_link
- download:
- selector: download_link
- infohash:
- selector: info_hash
- poster:
- selector: meta.poster
- filters:
- - name: replace
- args: ["https://via.placeholder.com/90x135", ""]
- imdbid:
- selector: imdb_id
- tmdbid:
- selector: tmdb_id
- tvdbid:
- selector: tvdb_id
- genre:
- selector: meta.genres
- filters:
- - name: re_replace
- args: ["(?i)^None$", ""]
- - name: re_replace
- args: ["(?i)(Science Fiction)", "Science_Fiction"]
- - name: re_replace
- args: ["(?i)(TV Movie)", "TV_Movie"]
- - name: replace
- args: [" & ", "_&_"]
- description:
- text: "{{ .Result.genre }}"
- files:
- selector: num_file
- seeders:
- selector: seeders
- leechers:
- selector: leechers
- grabs:
- selector: times_completed
- date:
- # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50
- selector: created_at
- filters:
- - name: append
- args: " +00:00" # GMT
- - name: dateparse
- args: "MM/dd/yyyy HH:mm:ss zzz"
- size:
- selector: size
- downloadvolumefactor:
- # api returns 0%, 25%, 50%, 75%, 100%
- selector: freeleech
- case:
- 0%: 1 # not free
- 25%: 0.75
- 50%: 0.5
- 75%: 0.25
- 100%: 0 # freeleech
- "*": 0 # catch errors
- uploadvolumefactor:
- # api returns 0=false, 1=true
- selector: double_upload
- case:
- 0: 1 # normal
- 1: 2 # double
- minimumseedtime:
- # 2.5 days (as seconds = 2.5 x 24 x 60 x 60)
- text: 216000
-# json UNIT3D 6.5.0