1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 04:38:20 +00:00

torrentdownload: refresh categories resolves #6805

change the category selector.
This commit is contained in:
Garfield69 2020-01-04 19:30:01 +13:00
parent 7e9aed1154
commit cd39b17307

View file

@ -10,14 +10,18 @@
caps:
categories:
"TV shows": TV
"TVshows": TV
"Television": TV
"Anime": TV/Anime
"MoviesDocumentary": TV/Documentary
"Movies": Movies
"VideoMobile": Movies
"Music": Audio
"AudioBooks": Audio/Audiobook
"Games": Console
"Applications": PC/0day
"Other": Other/Misc
"Anime": TV/Anime
"Audio Books": Audio/Audiobook
"OtherUnsorted": Other/Misc
modes:
search: [q]
@ -45,17 +49,20 @@
selector: table.table2 > tbody > tr:has(span.smallish)
fields:
category:
selector: div.tt-name > span.smallish
optional: true
filters:
- name: re_replace
args: ["[^A-Za-z]+", ""] # strip everything but letters
title:
selector: div.tt-name > a[href^="/"]
details:
selector: div.tt-name > a[href^="/"]
attribute: href
size:
selector: td:nth-child(3)
seeders:
selector: td.tdseed
leechers:
selector: td.tdleech
download:
selector: div.tt-name > a[href^="/"]
attribute: href
date:
selector: td:nth-child(2)
filters:
@ -65,15 +72,12 @@
args: ["Last Month", "1 month ago"]
- name: replace
args: ["+", " ago"]
download:
selector: div.tt-name > a[href^="/"]
attribute: href
category:
selector: div.tt-name > span.smallish
optional: true
filters:
- name: replace
args: ["» ", ""]
size:
selector: td:nth-child(3)
seeders:
selector: td.tdseed
leechers:
selector: td.tdleech
downloadvolumefactor:
text: 0
uploadvolumefactor: