Skip to content

Commit ca1a832

Browse files
authored
Merge pull request #47 from codextj/master
Updated User-Agent
2 parents 9efe892 + f606748 commit ca1a832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpage2html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get(index, relpath=None, verbose=True, usecache=True, verify=True, ignore_er
6666
log('[ CACHE HIT ] - %s' % full_path)
6767
return webpage2html_cache[full_path], None
6868
headers = {
69-
'User-Agent': 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)'
69+
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0'
7070
}
7171

7272
auth = None

0 commit comments

Comments
 (0)