mirror of https://github.com/Jackett/Jackett
fix(indexers): updated t411v2 definition (#1694)
This commit is contained in:
parent
be1f6a43a7
commit
97f4a9de5d
|
@ -8,8 +8,15 @@
|
||||||
- https://t411.si
|
- https://t411.si
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 1, cat: Movies}
|
- {id: 1, cat: Movies, desc: Films}
|
||||||
- {id: 2, cat: TV}
|
- {id: 2, cat: TV, desc: Séries}
|
||||||
|
- {id: 3, cat: TV/Anime, desc: Animes}
|
||||||
|
- {id: 4, cat: Audio, desc: Musique}
|
||||||
|
- {id: 5, cat: Books, desc: Ebooks}
|
||||||
|
- {id: 6, cat: PC/0day, desc: Logiciels}
|
||||||
|
- {id: 7, cat: PC/Games, desc: Jeux}
|
||||||
|
- {id: 8, cat: TV/Documentary, desc: Documentaires}
|
||||||
|
- {id: 9, cat: XXX, desc: XXX}
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
|
@ -21,17 +28,23 @@
|
||||||
search:
|
search:
|
||||||
path: /torrents/search/?search={{ .Keywords}}
|
path: /torrents/search/?search={{ .Keywords}}
|
||||||
rows:
|
rows:
|
||||||
selector: div.isItem
|
selector: tr.isItemDesk
|
||||||
fields:
|
fields:
|
||||||
|
category:
|
||||||
|
selector: td.m-cat > a
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: category
|
||||||
site_date:
|
site_date:
|
||||||
selector: div.gname a
|
selector: td.m-name > a
|
||||||
filters:
|
filters:
|
||||||
# date is at the end of the title, so we get it and name it
|
# date is at the end of the title, so we get it and name it
|
||||||
# site_date
|
# site_date
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "(\\w+)$"
|
args: "(\\w+)$"
|
||||||
title:
|
title:
|
||||||
selector: div.gname a
|
selector: td.m-name > a
|
||||||
filters:
|
filters:
|
||||||
# now we put the date at the right place according scene
|
# now we put the date at the right place according scene
|
||||||
# naming rules using .Result.site_date
|
# naming rules using .Result.site_date
|
||||||
|
@ -45,13 +58,13 @@
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\w+)$", ""]
|
args: ["(\\w+)$", ""]
|
||||||
details:
|
details:
|
||||||
selector: div.gname a
|
selector: td.m-name > a
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: div.gname a
|
selector: td.m-name > a
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
size:
|
||||||
selector: div.gsmall:nth-child(5) span
|
selector: td.m-taille > span
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: [ "\\.(\\w+) K", "$1X00"]
|
args: [ "\\.(\\w+) K", "$1X00"]
|
||||||
|
@ -68,19 +81,19 @@
|
||||||
seeders:
|
seeders:
|
||||||
text: 0
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
selector: div.gsmall:nth-child(6)
|
selector: td.m-seeders > span
|
||||||
optional: true
|
optional: true
|
||||||
leechers:
|
leechers:
|
||||||
text: 0
|
text: 0
|
||||||
leechers:
|
leechers:
|
||||||
selector: div.gsmall:nth-child(7)
|
selector: td.m-leechers > span
|
||||||
optional: true
|
optional: true
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: "0"
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: "1"
|
||||||
date:
|
date:
|
||||||
selector: div.gsmall:nth-child(4) span
|
selector: td.m-age > span
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: [ " jours", " days"]
|
args: [ " jours", " days"]
|
||||||
|
|
Loading…
Reference in New Issue