add -intitle:pdf to searx query
This commit is contained in:
1
ppf.py
1
ppf.py
@@ -103,6 +103,7 @@ def proxyfind(sqlite = None):
|
|||||||
else:
|
else:
|
||||||
search = random.choice(search_terms)
|
search = random.choice(search_terms)
|
||||||
|
|
||||||
|
search = '%s -intitle:pdf' % search
|
||||||
search_args = [ 'category=general', 'time_range=day', 'q=%s' % urllib.quote_plus(search) ]
|
search_args = [ 'category=general', 'time_range=day', 'q=%s' % urllib.quote_plus(search) ]
|
||||||
for srx in searx_instances:
|
for srx in searx_instances:
|
||||||
urls = []
|
urls = []
|
||||||
|
|||||||
Reference in New Issue
Block a user