firebit: add date TZ

code tidy
This commit is contained in:
Garfield69
2020-10-31 19:24:19 +13:00
parent f3309f966e
commit c95d6f2a1e

View File

@@ -64,8 +64,8 @@ search:
# http://firebit.net/%D1%84%D0%B8%D0%BB%D1%8C%D0%BC/ # movies # http://firebit.net/%D1%84%D0%B8%D0%BB%D1%8C%D0%BC/ # movies
# http://firebit.net/%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB/ # tv # http://firebit.net/%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB/ # tv
paths: paths:
- path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{else}}%D1%84%D0%B8%D0%BB%D1%8C%D0%BC/{{end}}" - path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{ else }}%D1%84%D0%B8%D0%BB%D1%8C%D0%BC/{{ end }}"
- path: "{{ if .Keywords }}index.php?do=search&type=simple&q=abcd1234{{else}}%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB/{{end}}" - path: "{{ if .Keywords }}index.php?do=search&type=simple&q=abcd1234{{ else }}%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB/{{ end }}"
rows: rows:
selector: "{{ if .Keywords }}table.torrents tbody tr{{ else }}div[id^=\"post-id-\"]{{ end }}" selector: "{{ if .Keywords }}table.torrents tbody tr{{ else }}div[id^=\"post-id-\"]{{ end }}"
@@ -97,8 +97,10 @@ search:
date: date:
selector: td:nth-child(5), li.meta-date selector: td:nth-child(5), li.meta-date
filters: filters:
- name: append
args: " +03:00" # MSK
- name: dateparse - name: dateparse
args: "02.01.2006 15:04:05" args: "02.01.2006 15:04:05 -07:00"
seeders: seeders:
selector: td.l1, li.meta-sead selector: td.l1, li.meta-sead
leechers: leechers: