1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-29 11:17:22 +00:00

monova: improve search - andmatch & keywordfilters (#8185)

This commit is contained in:
ilike2burnthing 2020-04-14 07:21:07 +01:00 committed by GitHub
parent ccb8032011
commit d2122794f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,13 @@
# https://monova.to/search?term=vikings+s05e05
# https://monova.to/video
- path: "{{if .Keywords}}search?term={{.Keywords}}{{else}}video{{end}}"
- path: "{{if .Keywords}}search?term={{.Keywords}}{{else}}video{{end}}&page=2"
- path: "{{if .Keywords}}search?term={{.Keywords}}{{else}}video{{end}}&page=3"
- path: "{{if .Keywords}}search?term={{.Keywords}}{{else}}video{{end}}&page=4"
keywordsfilters:
- name: re_replace
args: ["(?:^|\\s)[_\\+\\/\\.\\-\\(\\)]*[\\S]{0,3}[_\\+\\/\\.\\-\\(\\)]*(?:\\s|$)", " "]
rows:
selector: tr.desktop:not(tr[class="desktop success"])