1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-23 14:51:01 +00:00

hdcity: Optimise search for Complete Season (#6386)

Search for complete seasons with other names than "T1"
This commit is contained in:
Alberto Moreno 2019-11-18 17:54:19 +01:00 committed by garfield69
parent 0d60ed8326
commit abbf09c953

View file

@ -147,7 +147,7 @@
- name: re_replace - name: re_replace
args: ["[^a-zA-Z0-9]+", " "] args: ["[^a-zA-Z0-9]+", " "]
- name: re_replace - name: re_replace
args: ["(?i)\\bS0*(\\d+)\\b", "T$1"] args: ["(?i)\\bS0*(\\d+)\\b", " $1 "]
inputs: inputs:
page: "torrents" page: "torrents"
$raw: "&category={{range .Categories}}{{.}};{{end}}" $raw: "&category={{range .Categories}}{{.}};{{end}}"
@ -169,7 +169,11 @@
- name: append - name: append
args: " [English]" args: " [English]"
- name: re_replace - name: re_replace
args: ["(?i)T\\s?(\\d{1,2})\\b", "S$1"] args: ["(?i)T[\\s\\S]?(\\d{1,2})\\b", " S$1 "]
- name: re_replace
args: ["(?i)\\w*Temp\\w*\\b\\s?(\\d{1,2})(ª|\\D)?\\b", " S$1 "]
- name: re_replace
args: ["(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b"," S$1 "]
title: title:
selector: td[valign="middle"] a:not(:contains("VOSE")) selector: td[valign="middle"] a:not(:contains("VOSE"))
optional: true optional: true
@ -177,7 +181,11 @@
- name: append - name: append
args: " [Spanish]" args: " [Spanish]"
- name: re_replace - name: re_replace
args: ["(?i)T\\s?(\\d{1,2})\\b", "S$1"] args: ["(?i)T[\\s\\S]?(\\d{1,2})\\b", " S$1 "]
- name: re_replace
args: ["(?i)\\w*Temp\\w*\\b\\s?(\\d{1,2})(ª|\\D)?\\b", " S$1 "]
- name: re_replace
args: ["(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b"," S$1 "]
details: details:
selector: td[valign="middle"] a selector: td[valign="middle"] a
attribute: href attribute: href