We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4fdc11 commit 83630fcCopy full SHA for 83630fc
src/crystal/download.py
@@ -29,7 +29,12 @@
29
HTTP_REQUEST_TIMEOUT = 10 # seconds
30
31
# The User-Agent string to use for downloads, or None to omit.
32
-_USER_AGENT_STRING = 'Crystal/%s (https://dafoster.net/projects/crystal-web-archiver/)' % __version__
+_USER_AGENT_STRING = (
33
+ #'Crystal/%s (https://dafoster.net/projects/crystal-web-archiver/)' % __version__
34
+
35
+ # Chrome
36
+ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36'
37
+)
38
39
# Whether to log verbose output related to HTTP requests and responses.
40
# Can be used to inspect the exact request & response lines and headers exchanged.
0 commit comments