update User-Agent

This commit is contained in:
Kay Faraday 2022-01-08 04:28:04 +00:00
parent 94a8b53f28
commit e747e3c120
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ from http import HTTPStatus
def http_session_factory(headers={}): def http_session_factory(headers={}):
py_version = '.'.join(map(str, sys.version_info)) py_version = '.'.join(map(str, sys.version_info))
user_agent = ( user_agent = (
'pleroma-ebooks (https://github.com/ioistired/pleroma-ebooks); ' 'pleroma-ebooks (https://lab.freak.university/KayFaraday/pleroma-ebooks); '
'aiohttp/{aiohttp.__version__}; ' 'aiohttp/{aiohttp.__version__}; '
'python/{py_version}' 'python/{py_version}'
) )