From bf1e3a1a53c96daf42ca8671ddf7e925e586e126 Mon Sep 17 00:00:00 2001 From: Chaomander Date: Fri, 12 May 2017 05:30:48 +1000 Subject: [PATCH] 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 --- src/Jackett/Definitions/tokyotosho.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Jackett/Definitions/tokyotosho.yml b/src/Jackett/Definitions/tokyotosho.yml index 848b7ce74..77ce36234 100644 --- a/src/Jackett/Definitions/tokyotosho.yml +++ b/src/Jackett/Definitions/tokyotosho.yml @@ -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: