mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentdownload: refresh categories resolves #6805
change the category selector.
This commit is contained in:
@@ -10,14 +10,18 @@
|
|||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categories:
|
||||||
"TV shows": TV
|
"TVshows": TV
|
||||||
|
"Television": TV
|
||||||
|
"Anime": TV/Anime
|
||||||
|
"MoviesDocumentary": TV/Documentary
|
||||||
"Movies": Movies
|
"Movies": Movies
|
||||||
|
"VideoMobile": Movies
|
||||||
"Music": Audio
|
"Music": Audio
|
||||||
|
"AudioBooks": Audio/Audiobook
|
||||||
"Games": Console
|
"Games": Console
|
||||||
"Applications": PC/0day
|
"Applications": PC/0day
|
||||||
"Other": Other/Misc
|
"Other": Other/Misc
|
||||||
"Anime": TV/Anime
|
"OtherUnsorted": Other/Misc
|
||||||
"Audio Books": Audio/Audiobook
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
@@ -45,17 +49,20 @@
|
|||||||
selector: table.table2 > tbody > tr:has(span.smallish)
|
selector: table.table2 > tbody > tr:has(span.smallish)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
|
category:
|
||||||
|
selector: div.tt-name > span.smallish
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["[^A-Za-z]+", ""] # strip everything but letters
|
||||||
title:
|
title:
|
||||||
selector: div.tt-name > a[href^="/"]
|
selector: div.tt-name > a[href^="/"]
|
||||||
details:
|
details:
|
||||||
selector: div.tt-name > a[href^="/"]
|
selector: div.tt-name > a[href^="/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
download:
|
||||||
selector: td:nth-child(3)
|
selector: div.tt-name > a[href^="/"]
|
||||||
seeders:
|
attribute: href
|
||||||
selector: td.tdseed
|
|
||||||
leechers:
|
|
||||||
selector: td.tdleech
|
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
filters:
|
filters:
|
||||||
@@ -65,15 +72,12 @@
|
|||||||
args: ["Last Month", "1 month ago"]
|
args: ["Last Month", "1 month ago"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["+", " ago"]
|
args: ["+", " ago"]
|
||||||
download:
|
size:
|
||||||
selector: div.tt-name > a[href^="/"]
|
selector: td:nth-child(3)
|
||||||
attribute: href
|
seeders:
|
||||||
category:
|
selector: td.tdseed
|
||||||
selector: div.tt-name > span.smallish
|
leechers:
|
||||||
optional: true
|
selector: td.tdleech
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["» ", ""]
|
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 0
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
Reference in New Issue
Block a user