Skip to content

Commit f523483

Browse files
committed
update default user agent string
chrome 133 is the newest as of today closes #95
1 parent a023c8c commit f523483

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ you do not want to fetch from, such as "knownadprovider.com".
4646
**Optional** The string to use for the web agent when crawling pages.
4747
The default is:
4848
```
49-
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
49+
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
5050
```
5151

5252
### `verbose`

deadseeker/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DEFAULT_WEB_AGENT: str = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' +\
44
' AppleWebKit/537.36 (KHTML, like Gecko)' +\
5-
' Chrome/60.0.3112.113 Safari/537.36'
5+
' Chrome/133.0.0.0 Safari/537.36'
66
DEFAULT_RETRY_MAX_TRIES: int = 4
77
DEFAULT_RETRY_MAX_TIME: int = 30
88
DEFAULT_EXCLUDE_PREFIX: List[str] = ['mailto:', 'tel:']

test/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_default_agent(self):
1717
self.testobj.agent,
1818
'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' +
1919
' AppleWebKit/537.36 (KHTML, like Gecko)' +
20-
' Chrome/60.0.3112.113 Safari/537.36')
20+
' Chrome/133.0.0.0 Safari/537.36')
2121

2222
def test_default_max_tries(self):
2323
self.assertEqual(

0 commit comments

Comments
 (0)