Change user agent to X11 mode for full page data

This commit is contained in:
Arun Prakash Jana 2018-08-05 21:57:20 +05:30
parent 62923397b3
commit 70b6ae318a
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -75,7 +75,7 @@ COLORMAP = {k: '\x1b[%sm' % v for k, v in {
'x': '0', 'X': '1', 'y': '7', 'Y': '7;1', 'z': '2',
}.items()}
USER_AGENT = 'Buku/{} (textmode; Linux x86_64; 1024x768)'.format(__version__)
USER_AGENT = 'Buku/{} (X11; Linux x86_64; 1024x768)'.format(__version__)
myheaders = None # Default dictionary of headers
myproxy = None # Default proxy
text_browsers = ['elinks', 'links', 'links2', 'lynx', 'w3m', 'www-browser']