Skip to content

Commit 8f08118

Browse files
committed
update requests header to avoid 403
1 parent da141a2 commit 8f08118

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/check_links_in_ipynb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def get_header() -> Dict[str, str]:
117117
# https://stackoverflow.com/a/27652558
118118
return {
119119
"User-Agent": (
120-
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) "
121-
"AppleWebKit/605.1.15 (KHTML, like Gecko) "
122-
"Version/17.1.2 Safari/605.1.15"
120+
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
121+
"AppleWebKit/537.36 (KHTML, like Gecko) "
122+
"Chrome/114.0.0.0 Safari/537.36"
123123
)
124124
}

0 commit comments

Comments
 (0)