mirror of https://github.com/Jackett/Jackett
megapeer: add referer for search. resolves #14043
This commit is contained in:
parent
34ab812355
commit
3adf750973
|
@ -61,7 +61,10 @@ settings:
|
|||
1: asc
|
||||
|
||||
search:
|
||||
# http://megapeer.ru/browse.php?search=%25%25&age=&cat=0&stype=0&sort=0&ascdesc=0
|
||||
headers:
|
||||
# prevent redirect
|
||||
Referer: ["{{ .Config.sitelink }}browse.php"]
|
||||
# https://megapeer.vip/browse.php?search=%25%25&age=&cat=0&stype=0&sort=0&ascdesc=0
|
||||
paths:
|
||||
- path: browse.php
|
||||
keywordsfilters:
|
||||
|
@ -75,10 +78,10 @@ search:
|
|||
args: ["(\\w+)", "%$1"] # prepend % to each word - allow 1 character keywords
|
||||
inputs:
|
||||
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}%%{{ end }}"
|
||||
# does not support multi category searches
|
||||
cat: 0
|
||||
# null or yyyy
|
||||
age: ""
|
||||
# does not support multi category searches
|
||||
cat: 0
|
||||
# 0 title, 1 descr, 2 phrase, 3 infohash
|
||||
stype: 0
|
||||
sort: "{{ .Config.sort }}"
|
||||
|
|
Loading…
Reference in New Issue