1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-26 09:48:37 +00:00

Hachede: fix TV Shows search and spanish language (#2838)

Change TV Shows search format for Spanish style and add [spanish] for detected Spanish language in Sonarr/Radarr
This commit is contained in:
R91g 2018-04-01 22:52:48 +02:00 committed by garfield69
parent 9fc5b97de8
commit 534e718925

View file

@ -80,12 +80,15 @@
search:
path: /
keywordsfilters:
- name: re_replace
args: ["S0?(\\d{1,2})E(\\d{1,2})", "$1x$2"]
inputs:
p: "torrents"
page: "1"
pid: "10"
$raw: "{{range .Categories}}&cid[]={{.}}{{end}}"
keywords: "{{ .Query.Keywords }}"
keywords: "{{ .Keywords }}"
search_type: "name"
searchin: "title"
rows:
@ -93,6 +96,9 @@
fields:
title:
selector: td.torrent_name > a, .newIndicator > a
filters:
- name: append
args: " [spanish]"
details:
selector: td.torrent_name > a, .newIndicator > a
attribute: href