1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 14:14:25 +00:00

rudub: drop brackets in titles. resolves #13102

This commit is contained in:
Garfield69 2022-04-02 19:53:26 +13:00
parent 34b5887e2f
commit 3943302e0d

View file

@ -90,7 +90,9 @@ search:
- name: re_replace
args: ["[\\/]+", ""]
- name: replace
args: [" (Золото)", ""]
args: [" (Золото)", ""] # remove gold tag
- name: re_replace
args: ["[()]", " "] # remove the brackets around the English title and attributes
- name: replace
args: ["-Rip", "Rip"]
- name: replace
@ -111,6 +113,7 @@ search:
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
- name: append
args: " - rus"
- name: trim # clean up any leading and trailing spaces left over from above editing
details:
selector: a[href^="details.php?id="]
attribute: href