Skip to content

Commit

Permalink
megapeer - allow 1 character keywords #12371
Browse files Browse the repository at this point in the history
  • Loading branch information
ilike2burnthing committed May 2, 2022
1 parent 903f7ad commit e8c588d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Jackett.Common/Definitions/megapeer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ search:
args: ["(?i)S0*(\\d+)", "[$1 сезон]"]
- name: re_replace # E01 to [1 сери]
args: ["(?i)E0*(\\d+)", "[$1 сери]"]
- name: re_replace
args: ["(\\w+)", " %$1"] # prepend % to each word - allow 1 character keywords
inputs:
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}%%{{ end }}"
# does not support multi category searches
Expand Down

0 comments on commit e8c588d

Please sign in to comment.