From 81bd21c67acfec98d61356d902c6bf3fac2d3800 Mon Sep 17 00:00:00 2001
From: theopolisme <theopolismewiki@gmail.com>
Date: Sun, 20 Apr 2014 10:57:44 -0500
Subject: [PATCH] Link back to github repo in useragent, #35

---
 mwclient/http.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mwclient/http.py b/mwclient/http.py
index b929850..15335d7 100644
--- a/mwclient/http.py
+++ b/mwclient/http.py
@@ -65,7 +65,7 @@ class HTTPPersistentConnection(object):
         clients_useragent = clients_useragent or ""
         if clients_useragent != "":
             clients_useragent += " "
-        self.useragent = clients_useragent + 'MwClient/' + __ver__
+        self.useragent = clients_useragent + 'MwClient/' + __ver__ + ' (https://github.com/mwclient/mwclient)'
 
     def request(self, method, host, path, headers, data,
                 raise_on_not_ok=True, auto_redirect=True):
-- 
GitLab