assorted yml: code tidy

This commit is contained in:
Garfield69
2020-11-15 19:58:35 +13:00
parent dad14eca09
commit 242dfc6deb
7 changed files with 13 additions and 11 deletions

View File

@@ -170,7 +170,7 @@ search:
optional: true
filters:
- name: append
args: " +08:00"
args: " +08:00" # CST
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
date:
@@ -179,7 +179,7 @@ search:
attribute: title
filters:
- name: append
args: " +08:00"
args: " +08:00" # CST
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:

View File

@@ -166,7 +166,7 @@ search:
optional: true
filters:
- name: append
args: " +08:00"
args: " +08:00" # CST
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
date:
@@ -175,7 +175,7 @@ search:
attribute: title
filters:
- name: append
args: " +08:00"
args: " +08:00" # CST
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:

View File

@@ -149,7 +149,7 @@ search:
order: "{{ .Config.type }}"
keywordsfilters:
- name: re_replace
args: ["S01E01", "{{ if .Config.stripS01E01 }}{{ else }}S01E01{{ end }}"] # optionally remove S01E01 from search
args: ["(?i)S01E01", "{{ if .Config.stripS01E01 }}{{ else }}S01E01{{ end }}"] # optionally remove S01E01 from search
rows:
selector: tr:has(a.magnetlink)

View File

@@ -149,7 +149,7 @@ search:
order: "{{ .Config.type }}"
keywordsfilters:
- name: re_replace
args: ["S01E01", "{{ if .Config.stripS01E01 }}{{ else }}S01E01{{ end }}"] # optionally remove S01E01 from search
args: ["(?i)S01E01", "{{ if .Config.stripS01E01 }}{{ else }}S01E01{{ end }}"] # optionally remove S01E01 from search
rows:
selector: tr:has(a.magnetlink)

View File

@@ -128,8 +128,10 @@ search:
date:
selector: td:nth-of-type(7)
filters:
- name: append
args: " +05:30" # IST
- name: dateparse
args: "Jan 2 2006 03:04 PM"
args: "Jan 2 2006 03:04 PM -07:00"
size:
selector: td:nth-of-type(8)
grabs:

View File

@@ -90,9 +90,9 @@ search:
keywordsfilters:
# most ITA TV torrents are in XXxYY format, so we search without S/E prefixes and filter later
- name: re_replace
args: ["S0?(\\d{1,2})", " $1 "]
args: ["(?i)S0?(\\d{1,2})", " $1 "]
- name: re_replace
args: ["E(\\d{2,3})", " $1 "]
args: ["(?i)E(\\d{2,3})", " $1 "]
- name: replace
args: ["-", ""]
inputs:

View File

@@ -159,9 +159,9 @@ search:
selector: td:nth-child(5)
filters:
- name: append
args: " -00"
args: " -00:00" # GMT
- name: dateparse
args: "2006-01-02 15:04 -07"
args: "2006-01-02 15:04 -07:00"
seeders:
selector: td:nth-child(6):empty
optional: true