mirror of
https://github.com/Jackett/Jackett
synced 2025-02-27 08:32:56 +00:00
itorrent: fix grabs > 999. resolves #6539
also replace new categories and prevent dataparse error
This commit is contained in:
parent
6acacd1947
commit
4b1a343f60
1 changed files with 13 additions and 13 deletions
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categories:
|
||||||
"Apps": PC
|
"app": PC
|
||||||
"book": Books
|
"book": Books
|
||||||
"Games": PC/Games
|
"game": PC/Games
|
||||||
"Movies": Movies
|
"movies": Movies
|
||||||
"Music": Audio
|
"music": Audio
|
||||||
"XXX": XXX
|
"heart": XXX
|
||||||
"TV": TV
|
"tv": TV
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -40,11 +40,8 @@
|
||||||
selector: td:nth-child(1) i
|
selector: td:nth-child(1) i
|
||||||
attribute: class
|
attribute: class
|
||||||
filters:
|
filters:
|
||||||
# patch. books are "fa fa-book" while all the other categories are "ico-list-*"
|
|
||||||
- name: replace
|
- name: replace
|
||||||
args: [" ", "-"]
|
args: ["zqf zqf-", ""]
|
||||||
- name: split
|
|
||||||
args: ["-", 2]
|
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(2) a
|
selector: td:nth-child(2) a
|
||||||
details:
|
details:
|
||||||
|
@ -61,7 +58,7 @@
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006.01.02 15:04"
|
args: "2006.01.02 15:04"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(4):not(span)
|
selector: td:nth-child(4):not(:has(span))
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
|
@ -70,11 +67,14 @@
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: [" ", ""]
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(8)
|
selector: td:nth-child(8)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
|
Loading…
Reference in a new issue