update User-Agent
This commit is contained in:
parent
94a8b53f28
commit
e747e3c120
|
@ -10,7 +10,7 @@ from http import HTTPStatus
|
|||
def http_session_factory(headers={}):
|
||||
py_version = '.'.join(map(str, sys.version_info))
|
||||
user_agent = (
|
||||
'pleroma-ebooks (https://github.com/ioistired/pleroma-ebooks); '
|
||||
'pleroma-ebooks (https://lab.freak.university/KayFaraday/pleroma-ebooks); '
|
||||
'aiohttp/{aiohttp.__version__}; '
|
||||
'python/{py_version}'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue