Fix tokyotosho failing test and add type (#1350)

* Fix tokyotosho failing test and add type

* Revert unnecessary change to language

* Add encoding

* Use UTC for date parse
This commit is contained in:
Chaomander 2017-05-12 05:30:48 +10:00 committed by kaso17
parent 6276789738
commit bf1e3a1a53
1 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@
name: Tokyo Toshokan
description: "A BitTorrent Library for Japanese Media"
language: en-us
type: public
encoding: UTF-8
links:
- https://www.tokyotosho.info/
@ -27,7 +29,7 @@
tv-search: [q, season, ep]
search:
path: "{{if .Query.Keywords }}search.php{{end}}"
path: "{{if .Query.Keywords }}search.php{{else}}index.php{{end}}"
inputs:
terms: "{{ .Query.Keywords }}"
rows:
@ -63,7 +65,7 @@
- name: regexp
args: "Date: (.+?) ?$"
- name: dateparse
args: "2006-01-02 15:04 MST"
args: "2006-01-02 15:04 UTC"
seeders:
selector: td:nth-child(5) > span:nth-child(1)
leechers: