From 15dee0cd73d92327b78f61212a468dcbfe24cc8d Mon Sep 17 00:00:00 2001 From: mickael Date: Wed, 9 Jan 2019 23:30:55 +0000 Subject: [PATCH] add -intitle:pdf to searx query --- ppf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppf.py b/ppf.py index eb78c02..ea7cf60 100755 --- a/ppf.py +++ b/ppf.py @@ -103,6 +103,7 @@ def proxyfind(sqlite = None): else: search = random.choice(search_terms) + search = '%s -intitle:pdf' % search search_args = [ 'category=general', 'time_range=day', 'q=%s' % urllib.quote_plus(search) ] for srx in searx_instances: urls = []