yggtorrent, yggcookie: Fix search when anime ending by number without 'E' (#12084)

This commit is contained in:
abdel-m 2021-07-28 04:54:38 +02:00 committed by GitHub
parent 8b59fb0a52
commit 48364972cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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: ["\"", ""]

View File

@ -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: ["\"", ""]