mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
r4e: update for unit3d 2.2.7 resolves #7257
plus add new categories add posters
This commit is contained in:
parent
950d38a651
commit
4a4af3d8c8
1 changed files with 13 additions and 3 deletions
|
@ -16,6 +16,7 @@
|
||||||
- {id: 2, cat: TV/Sport, desc: "Documentaries TV"}
|
- {id: 2, cat: TV/Sport, desc: "Documentaries TV"}
|
||||||
- {id: 3, cat: TV/Sport, desc: "DTM"}
|
- {id: 3, cat: TV/Sport, desc: "DTM"}
|
||||||
- {id: 22, cat: TV/Sport, desc: "Formula 2"}
|
- {id: 22, cat: TV/Sport, desc: "Formula 2"}
|
||||||
|
- {id: 23, cat: TV/Sport, desc: "Formula E"}
|
||||||
- {id: 24, cat: TV/Sport, desc: "Misc"}
|
- {id: 24, cat: TV/Sport, desc: "Misc"}
|
||||||
- {id: 25, cat: TV/Sport, desc: "Other Bikes"}
|
- {id: 25, cat: TV/Sport, desc: "Other Bikes"}
|
||||||
- {id: 26, cat: TV/Sport, desc: "MotoGP 2-3-E"}
|
- {id: 26, cat: TV/Sport, desc: "MotoGP 2-3-E"}
|
||||||
|
@ -42,6 +43,8 @@
|
||||||
- {id: 76, cat: TV/Sport, desc: "ARCA"}
|
- {id: 76, cat: TV/Sport, desc: "ARCA"}
|
||||||
- {id: 77, cat: TV/Sport, desc: "Blancpain GT"}
|
- {id: 77, cat: TV/Sport, desc: "Blancpain GT"}
|
||||||
- {id: 78, cat: TV/Sport, desc: "Porsche Supercup"}
|
- {id: 78, cat: TV/Sport, desc: "Porsche Supercup"}
|
||||||
|
- {id: 79, cat: TV/Sport, desc: "TV Series"}
|
||||||
|
- {id: 80, cat: TV/Sport, desc: "Touring Cars"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -95,7 +98,7 @@
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: filterTorrents
|
- path: torrents/filter
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
|
@ -118,7 +121,7 @@
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "/categories/.*?\\.(\\d+)"
|
args: "/categories/(\\d+)"
|
||||||
title:
|
title:
|
||||||
selector: a.view-torrent
|
selector: a.view-torrent
|
||||||
download:
|
download:
|
||||||
|
@ -127,6 +130,13 @@
|
||||||
details:
|
details:
|
||||||
selector: a.view-torrent
|
selector: a.view-torrent
|
||||||
attribute: href
|
attribute: href
|
||||||
|
banner:
|
||||||
|
optional: true
|
||||||
|
selector: div.torrent-poster img
|
||||||
|
attribute: src
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["https://via.placeholder.com/600x900", ""]
|
||||||
comments:
|
comments:
|
||||||
selector: a[href*="#comments"]
|
selector: a[href*="#comments"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -195,4 +205,4 @@
|
||||||
i[class*="fa-globe text-green"]: 2 # Global Double Upload
|
i[class*="fa-globe text-green"]: 2 # Global Double Upload
|
||||||
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
|
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
|
||||||
"*": 1
|
"*": 1
|
||||||
# UNIT3D 1.9.4
|
# UNIT3D 2.2.7
|
||||||
|
|
Loading…
Reference in a new issue