Change the useragent to just voussoir/BringRSS.
This commit is contained in:
parent
6d40170c78
commit
2e2d85ff26
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue