mirror of
https://github.com/Jackett/Jackett
synced 2024-12-26 01:37:44 +00:00
redbits: detect vose resolves #11615
also handle single season releases tidy up title word spacing
This commit is contained in:
parent
d9ed8b981d
commit
5894372c49
1 changed files with 26 additions and 4 deletions
|
@ -68,6 +68,9 @@ login:
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: torrents/filter
|
- path: torrents/filter
|
||||||
|
keywordsfilters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\bS0*(\\d+)\\b", "T$1"]
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
|
search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
|
||||||
|
@ -99,23 +102,42 @@ search:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "/categories/(\\d+)"
|
args: "/categories/(\\d+)"
|
||||||
title:
|
title:
|
||||||
selector: a[href*="/torrents/"]
|
selector: a.view-torrent:contains("VOSE")
|
||||||
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["\\[", " "]
|
args: ["(?i)bdfull", "BluRay"] # BDfull -> BluRay
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["\\]", " "]
|
args: ["(?i)RedBits", ""] # Delete RedBits
|
||||||
|
- name: append
|
||||||
|
args: " English" # Add english to fix Sonarr/Radarr language
|
||||||
|
- name: re_replace
|
||||||
|
args: ["\\[|\\]", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: [" ", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)T(\\d{1,2})\\b", "S$1"]
|
||||||
|
title:
|
||||||
|
selector: a.view-torrent:not(:contains("VOSE"))
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)bdfull", "BluRay"] # BDfull -> BluRay
|
args: ["(?i)bdfull", "BluRay"] # BDfull -> BluRay
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)RedBits", ""] # Delete RedBits
|
args: ["(?i)RedBits", ""] # Delete RedBits
|
||||||
- name: append
|
- name: append
|
||||||
args: " Spanish" # Add spanish to fix Sonarr/Radarr language
|
args: " Spanish" # Add spanish to fix Sonarr/Radarr language
|
||||||
|
- name: re_replace
|
||||||
|
args: ["\\[|\\]", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: [" ", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)T(\\d{1,2})\\b", "S$1"]
|
||||||
download:
|
download:
|
||||||
selector: a[href*="/download/"]
|
selector: a[href*="/download/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
details:
|
details:
|
||||||
selector: a[href*="/torrents/"]
|
selector: a.view-torrent
|
||||||
attribute: href
|
attribute: href
|
||||||
poster:
|
poster:
|
||||||
selector: div.torrent-poster img
|
selector: div.torrent-poster img
|
||||||
|
|
Loading…
Reference in a new issue