mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
hdcity: Optimise search for Complete Season (#6386)
Search for complete seasons with other names than "T1"
This commit is contained in:

committed by
garfield69

parent
0d60ed8326
commit
abbf09c953
@@ -147,7 +147,7 @@
|
||||
- name: re_replace
|
||||
args: ["[^a-zA-Z0-9]+", " "]
|
||||
- name: re_replace
|
||||
args: ["(?i)\\bS0*(\\d+)\\b", "T$1"]
|
||||
args: ["(?i)\\bS0*(\\d+)\\b", " $1 "]
|
||||
inputs:
|
||||
page: "torrents"
|
||||
$raw: "&category={{range .Categories}}{{.}};{{end}}"
|
||||
@@ -169,7 +169,11 @@
|
||||
- name: append
|
||||
args: " [English]"
|
||||
- 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:
|
||||
selector: td[valign="middle"] a:not(:contains("VOSE"))
|
||||
optional: true
|
||||
@@ -177,7 +181,11 @@
|
||||
- name: append
|
||||
args: " [Spanish]"
|
||||
- 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:
|
||||
selector: td[valign="middle"] a
|
||||
attribute: href
|
||||
|
Reference in New Issue
Block a user