mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-02 16:42:01 +02:00
hdforever: fix non-verified titles causing selector error
This commit is contained in:
@@ -122,6 +122,9 @@ search:
|
|||||||
div.cats_série: 5
|
div.cats_série: 5
|
||||||
div.cats_sérieanim: 6
|
div.cats_sérieanim: 6
|
||||||
div.cats_documentaire: 7
|
div.cats_documentaire: 7
|
||||||
|
details:
|
||||||
|
selector: a[href^="torrents.php?id="]
|
||||||
|
attribute: href
|
||||||
download_regular:
|
download_regular:
|
||||||
selector: a[href^="torrents.php?action=download&"]
|
selector: a[href^="torrents.php?action=download&"]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -138,9 +141,56 @@ search:
|
|||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: trim
|
- 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:
|
title_phase1:
|
||||||
selector: div.group_info
|
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:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["\n", " "]
|
args: ["\n", " "]
|
||||||
@@ -257,56 +307,6 @@ search:
|
|||||||
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
||||||
description:
|
description:
|
||||||
selector: div.group_info
|
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:
|
minimumratio:
|
||||||
text: 0.6
|
text: 0.6
|
||||||
minimumseedtime:
|
minimumseedtime:
|
||||||
|
Reference in New Issue
Block a user