mirror of https://github.com/Jackett/Jackett
yggtorrent, yggcookie: Fix search when anime ending by number without 'E' (#12084)
This commit is contained in:
parent
8b59fb0a52
commit
48364972cb
|
@ -204,6 +204,8 @@ search:
|
|||
args: ["(?i)(.*)s([1-9])$", "$1 S0$2"]
|
||||
- name: re_replace # Full season S >= 10
|
||||
args: ["(?i)(.*)s([1-9][0-9])$", "$1 S$2"]
|
||||
- name: re_replace # episode number at the end "123" to "E123"
|
||||
args: ["(.*)(\\.| |\\-)(\\d{2,3})(.*)", "$1 E$3 $4"]
|
||||
# END ANIME HACK
|
||||
- name: replace
|
||||
args: ["\"", ""]
|
||||
|
|
|
@ -212,6 +212,8 @@ search:
|
|||
args: ["(?i)(.*)s([1-9])$", "$1 S0$2"]
|
||||
- name: re_replace # Full season S >= 10
|
||||
args: ["(?i)(.*)s([1-9][0-9])$", "$1 S$2"]
|
||||
- name: re_replace # episode number at the end "123" to "E123"
|
||||
args: ["(.*)(\\.| |\\-)(\\d{2,3})(.*)", "$1 E$3 $4"]
|
||||
# END ANIME HACK
|
||||
- name: replace
|
||||
args: ["\"", ""]
|
||||
|
|
Loading…
Reference in New Issue