Skip to content

Commit

Permalink
chore: update useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnbrown committed Jul 13, 2023
1 parent d2a664a commit 8948056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rocalert/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _get_default_headers():
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) '
+ 'AppleWebKit/537.36 (KHTML, like Gecko) '
+ 'Chrome/107.0.0.0 Safari/537.36',
+ 'Chrome/114.0.0.0 Safari/537.36',
}


Expand Down
2 changes: 1 addition & 1 deletion rocalert/roc_web_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) '
+ 'AppleWebKit/537.36 (KHTML, like Gecko) '
+ 'Chrome/107.0.0.0 Safari/537.36',
+ 'Chrome/114.0.0.0 Safari/537.36',
}

self._urlgenerator = urlgenerator
Expand Down

0 comments on commit 8948056

Please sign in to comment.