assorted yml: dateparse update. related to #14072 (#14079)

This commit is contained in:
Bogdan
2023-02-24 22:08:29 +02:00
committed by GitHub
parent 0465dd3f82
commit de1dc433cb
12 changed files with 13 additions and 13 deletions

View File

@@ -193,7 +193,7 @@ search:
- name: regexp
args: "Uploaded (.+?) by"
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
# within the hour (unix)
selector: abbr[data-time]

View File

@@ -187,7 +187,7 @@ search:
- name: regexp
args: "Uploaded (.+?) by"
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
# within the hour (unix)
selector: abbr[data-time]

View File

@@ -206,7 +206,7 @@ search:
- name: replace
args: ["στις ", ""] # at
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date:
text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
minimumratio:

View File

@@ -157,7 +157,7 @@ search:
# auto adjusted by site account profile
filters:
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
download:
selector: div[id^="port-target-"] a
attribute: href

View File

@@ -173,7 +173,7 @@ search:
- name: regexp
args: "Uploaded (.+?) by"
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
selector: div.torrentOwner abbr
optional: true

View File

@@ -176,7 +176,7 @@ search:
- name: regexp
args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2})
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
size:
selector: td:nth-child(5)
grabs:

View File

@@ -266,7 +266,7 @@ search:
- name: replace
args: ["στις ", ""] # at
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_other:
selector: td.torrent_name
# auto adjusted by site account profile
@@ -280,7 +280,7 @@ search:
- name: replace
args: ["at ", ""]
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
selector: div.torrentOwner > abbr.timeago
attribute: data-time

View File

@@ -151,7 +151,7 @@ search:
# auto adjusted by site account profile
filters:
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
downloadvolumefactor:
case:
img[src$="/freedownload.gif"]: 0

View File

@@ -121,7 +121,7 @@ search:
# auto adjusted by site account profile
filters:
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
seeders:
selector: td:nth-child(4)
filters:

View File

@@ -164,7 +164,7 @@ search:
- name: regexp
args: "Uploaded (.+?) by"
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
selector: div.torrentOwner abbr
optional: true

View File

@@ -177,7 +177,7 @@ search:
- name: regexp
args: "Uploaded (.+?) by"
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
# within the hour (unix)
selector: abbr[data-time]

View File

@@ -169,7 +169,7 @@ search:
- name: regexp
args: "Uploaded (.+?) by"
- name: dateparse
args: "02-01-2006 15:04"
args: "dd-MM-yyyy HH:mm"
date_unix:
# within the hour (unix)
selector: abbr[data-time]