forked from Icycoide/searxng
[enh] own useragent handling init
This commit is contained in:
parent
060ea4d2f5
commit
a65070a72d
2 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,10 @@ import codecs
|
|||
import cStringIO
|
||||
import re
|
||||
|
||||
def get_useragent():
|
||||
# TODO
|
||||
return "Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0"
|
||||
|
||||
def highlight_content(content, query):
|
||||
|
||||
if not content:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue