Skip to content

Commit

Permalink
Fix #145 #146: change user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Sep 24, 2022
1 parent 1301ec7 commit 02025e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddgr
Expand Up @@ -85,7 +85,7 @@ COLORMAP = {k: '\x1b[%sm' % v for k, v in {
'x': '0', 'X': '1', 'y': '7', 'Y': '7;1',
}.items()}

USER_AGENT = 'ddgr/{} (textmode; Linux x86_64; 1024x768)'.format(_VERSION_)
USER_AGENT = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0'

TEXT_BROWSERS = ['elinks', 'links', 'lynx', 'w3m', 'www-browser']

Expand Down

0 comments on commit 02025e8

Please sign in to comment.