Skip to content

Commit

Permalink
update default user agent string
Browse files Browse the repository at this point in the history
chrome 133 is the newest as of today
closes #95
  • Loading branch information
ScholliYT committed Feb 21, 2025
1 parent a023c8c commit f523483
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ you do not want to fetch from, such as "knownadprovider.com".
**Optional** The string to use for the web agent when crawling pages.
The default is:
```
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
```

### `verbose`
Expand Down
2 changes: 1 addition & 1 deletion deadseeker/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DEFAULT_WEB_AGENT: str = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' +\
' AppleWebKit/537.36 (KHTML, like Gecko)' +\
' Chrome/60.0.3112.113 Safari/537.36'
' Chrome/133.0.0.0 Safari/537.36'
DEFAULT_RETRY_MAX_TRIES: int = 4
DEFAULT_RETRY_MAX_TIME: int = 30
DEFAULT_EXCLUDE_PREFIX: List[str] = ['mailto:', 'tel:']
Expand Down
2 changes: 1 addition & 1 deletion test/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_default_agent(self):
self.testobj.agent,
'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' +
' AppleWebKit/537.36 (KHTML, like Gecko)' +
' Chrome/60.0.3112.113 Safari/537.36')
' Chrome/133.0.0.0 Safari/537.36')

def test_default_max_tries(self):
self.assertEqual(
Expand Down

0 comments on commit f523483

Please sign in to comment.