mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 05:16:55 +00:00
et-cd: optional cat config support for torznab app compatibility
also update the date processing add date TZ
This commit is contained in:
parent
26d5f8a4aa
commit
12ca9ba487
1 changed files with 21 additions and 16 deletions
|
@ -14,7 +14,9 @@ legacylinks:
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categories:
|
||||||
other: Other
|
1: TV
|
||||||
|
2: Movies
|
||||||
|
3: Other
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -22,9 +24,14 @@ caps:
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: info
|
- name: category-id
|
||||||
type: info
|
type: select
|
||||||
default: ExtraTorrent-cd does not use categories. In your software Indexer settings, set the category to 7000.
|
label: The ExtraTorrent web site does not provide categories. Select the category you want Jackett to set on all results returned.
|
||||||
|
default: 3
|
||||||
|
options:
|
||||||
|
1: TV
|
||||||
|
2: Movies
|
||||||
|
3: Other
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
@ -41,7 +48,7 @@ search:
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
text: other # issue #8228
|
text: "{{ .Config.category-id }}"
|
||||||
title:
|
title:
|
||||||
selector: a[href*="/torrent/"][title^="view"]
|
selector: a[href*="/torrent/"][title^="view"]
|
||||||
details:
|
details:
|
||||||
|
@ -54,31 +61,29 @@ search:
|
||||||
selector: a[href^="magnet:?xt="]
|
selector: a[href^="magnet:?xt="]
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date:
|
||||||
selector: td:nth-last-of-type(5):contains("Y-day-"), td:nth-last-of-type(5):contains("Today-")
|
# Y-day-2020 (seriously!?!, like there's a Y-day-2019 ?)
|
||||||
|
# Today-22:03
|
||||||
|
selector: td:nth-last-of-type(5):contains("day")
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["\xA0", " "]
|
args: ["\xA0", " "]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(Today-.*)", "Today"]
|
args: ["(Today-)", "Today "]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(Y-day-.*)", "Yesterday"]
|
args: ["(Y-day-.*)", "Yesterday"]
|
||||||
- name: fuzzytime
|
- name: fuzzytime
|
||||||
date:
|
date:
|
||||||
selector: td:nth-last-of-type(5):contains(":"):not(:contains("Y-day-")):not(:contains("Today-"))
|
# 12-27-2019
|
||||||
optional: true
|
selector: td:nth-last-of-type(5):not(:contains(":")):not(:contains("day"))
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["\xA0", " "]
|
|
||||||
- name: fuzzytime
|
|
||||||
date:
|
|
||||||
selector: td:nth-last-of-type(5):not(:contains(":")):not(:contains("Y-day-")):not(:contains("Today-"))
|
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["\xA0", "-"]
|
args: ["\xA0", "-"]
|
||||||
|
- name: append
|
||||||
|
args: " -07:00" # PDT
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "01-02-2006"
|
args: "01-02-2006 -07:00"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-of-type(4)
|
selector: td:nth-last-of-type(4)
|
||||||
seeders:
|
seeders:
|
||||||
|
|
Loading…
Add table
Reference in a new issue