Change the useragent to just voussoir/BringRSS.

master
voussoir 2022-03-30 20:23:16 -07:00
parent 6d40170c78
commit 2e2d85ff26
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ DEFAULT_DBNAME = 'bringrss.db'
# behavior changes. # behavior changes.
VERSION = '0.0.1' VERSION = '0.0.1'
http_session = requests.Session() http_session = requests.Session()
http_session.headers['User-Agent'] = f'BringRSS v{VERSION} github.com/voussoir/bringrss' http_session.headers['User-Agent'] = f'voussoir/BringRSS v{VERSION}'
# Thank you h-j-13 # Thank you h-j-13
# https://stackoverflow.com/a/54629675/5430534 # https://stackoverflow.com/a/54629675/5430534