kopia lustrzana https://github.com/jcarbaugh/python-webfinger
change repo name and user agent string back to python-webfinger
rodzic
ad53da5dce
commit
6f86ca8bbf
2
setup.py
2
setup.py
|
@ -10,7 +10,7 @@ setup(name="webfinger",
|
|||
author="Jeremy Carbaugh",
|
||||
author_email="jcarbaugh@gmail.com",
|
||||
license='BSD',
|
||||
url="http://github.com/jcarbaugh/webfinger/",
|
||||
url="http://github.com/jcarbaugh/python-webfinger/",
|
||||
long_description=long_description,
|
||||
install_requires=["python-xrd"],
|
||||
platforms=["any"],
|
||||
|
|
|
@ -49,7 +49,7 @@ class WebFingerClient(object):
|
|||
self._host = host
|
||||
self._official = official
|
||||
self._opener = urllib2.build_opener(urllib2.HTTPRedirectHandler())
|
||||
self._opener.addheaders = [('User-agent', 'github.com/jcarbaugh/webfinger')]
|
||||
self._opener.addheaders = [('User-agent', 'python-webfinger')]
|
||||
|
||||
self._timeout = timeout
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue