Add user agent string for Buku

This commit is contained in:
Arun Prakash Jana 2017-09-27 04:24:57 +05:30
parent 0c42ef3f12
commit 848d9d7943
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -70,8 +70,7 @@ COLORMAP = {k: '\x1b[%sm' % v for k, v in {
'x': '0', 'X': '1', 'y': '7', 'Y': '7;1', 'z': '2', 'x': '0', 'X': '1', 'y': '7', 'Y': '7;1', 'z': '2',
}.items()} }.items()}
# Disguise as elinks on Linux USER_AGENT = 'Buku/{} (textmode; Linux 4.4.0-96-generic x86_64; 1024x768)'.format(__version__)
USER_AGENT = 'ELinks/0.12pre6 (textmode; Linux 4.4.0-89-generic x86_64; 199x55-2)'
myheaders = None # Default dictionary of headers myheaders = None # Default dictionary of headers
myproxy = None # Default proxy myproxy = None # Default proxy