diff options
| author | asciimoo <asciimoo@gmail.com> | 2014-01-12 20:13:14 +0100 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2014-01-12 20:13:14 +0100 |
| commit | a65070a72d1deecbcb5bd9a2905120d326a00527 (patch) | |
| tree | e28f1bfad3fc9eb3c50a039aee718be2ab205ad9 /searx/utils.py | |
| parent | 060ea4d2f54061f89a1846de4fbce82ff10c594c (diff) | |
[enh] own useragent handling init
Diffstat (limited to 'searx/utils.py')
| -rw-r--r-- | searx/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/utils.py b/searx/utils.py index 53300181f..862185922 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -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: |