This commit is contained in:
Your Name
2021-05-02 00:22:12 +02:00
parent 66006a0273
commit cae6f75643
9 changed files with 184 additions and 88 deletions

View File

@@ -41,7 +41,8 @@ def proxyfind(sqlite = None, urignore=None):
search = search + random.choice(search_terms)
if not len(search): return
search_args = [ 'category=general', 'time_range=%s' % random.choice(['day','week','month','year']), 'q=%s' % urllib.quote_plus(search) ]
#search_args = [ 'category=general', 'time_range=%s' % random.choice(['day','week','month','year']), 'q=%s' % urllib.quote_plus(search) ]
search_args = [ 'category=general', 'time_range=%s' % random.choice(['day','week']), 'q=%s' % urllib.quote_plus(search) ]
random.shuffle(search_args)
search_arg = '&'.join(search_args)