1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 03:38:31 +00:00

ygg: strip season as site does not support partial matches. resolves #14565 (#14571)

This commit is contained in:
ilike2burnthing 2023-07-18 20:07:40 +01:00 committed by GitHub
parent 64249a83c3
commit 8842a0aa1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -351,6 +351,9 @@ search:
# fix date search and workaround for internal YGG issues
- name: re_replace
args: ["[\\\\\\-\\.\\/!\\s]+", " "]
# strip season as site does not support partial matches
- name: re_replace
args: ["(?i)\\bS\\d{1,3}\\b", ""]
- name: trim
# put each word in quotations to prevent exact phrase search
- name: re_replace

View file

@ -355,6 +355,9 @@ search:
# fix date search and workaround for internal YGG issues
- name: re_replace
args: ["[\\\\\\-\\.\\/!\\s]+", " "]
# strip season as site does not support partial matches
- name: re_replace
args: ["(?i)\\bS\\d{1,3}\\b", ""]
- name: trim
# put each word in quotations to prevent exact phrase search
- name: re_replace