From 848d9d79431be6ec7a668995ed282514374b9cab Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 27 Sep 2017 04:24:57 +0530 Subject: [PATCH] Add user agent string for Buku --- buku.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buku.py b/buku.py index b670530..eebb6d4 100755 --- a/buku.py +++ b/buku.py @@ -70,8 +70,7 @@ COLORMAP = {k: '\x1b[%sm' % v for k, v in { 'x': '0', 'X': '1', 'y': '7', 'Y': '7;1', 'z': '2', }.items()} -# Disguise as elinks on Linux -USER_AGENT = 'ELinks/0.12pre6 (textmode; Linux 4.4.0-89-generic x86_64; 199x55-2)' +USER_AGENT = 'Buku/{} (textmode; Linux 4.4.0-96-generic x86_64; 1024x768)'.format(__version__) myheaders = None # Default dictionary of headers myproxy = None # Default proxy