mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
filebase: add date TZ
code tidy
This commit is contained in:
@@ -117,7 +117,7 @@ search:
|
|||||||
- name: re_replace # S01E01 to 1 1
|
- name: re_replace # S01E01 to 1 1
|
||||||
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1 $2"]
|
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1 $2"]
|
||||||
inputs:
|
inputs:
|
||||||
# all activeonly deadonly
|
# all, liveonly, deadonly
|
||||||
t: all
|
t: all
|
||||||
c: "{{ .Config.cat }}"
|
c: "{{ .Config.cat }}"
|
||||||
s: "{{ .Config.sort }}"
|
s: "{{ .Config.sort }}"
|
||||||
@@ -134,14 +134,13 @@ search:
|
|||||||
- name: split
|
- name: split
|
||||||
args: ["/", 2]
|
args: ["/", 2]
|
||||||
torrent_id:
|
torrent_id:
|
||||||
# selector: td:nth-child(2) a # for some obscure reason counting from the top does not work for this selector!?!?!??!
|
selector: td:nth-child(2) a
|
||||||
selector: td:nth-last-child(8) a
|
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: split
|
- name: split
|
||||||
args: ["/", 3]
|
args: ["/", 3]
|
||||||
title:
|
title:
|
||||||
selector: td:nth-last-child(8) a
|
selector: td:nth-child(2)
|
||||||
filters:
|
filters:
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
- name: replace
|
- name: replace
|
||||||
@@ -171,15 +170,17 @@ search:
|
|||||||
- name: replace
|
- name: replace
|
||||||
args: ["HDTVRip", "HDTV"]
|
args: ["HDTVRip", "HDTV"]
|
||||||
details:
|
details:
|
||||||
selector: td:nth-last-child(8) a
|
selector: td:nth-child(2) a
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
text: "{{ .Config.sitelink }}download.php?id={{ .Result.torrent_id }}"
|
text: "{{ .Config.sitelink }}download.php?id={{ .Result.torrent_id }}"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(4)
|
selector: td:nth-child(4)
|
||||||
filters:
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +03:00" # MSK
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02/01/06"
|
args: "02/01/06 -07:00"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user