Skip to content

Commit 2e45bf8

Browse files
author
liuhao
committed
bug fix
1 parent d033e3d commit 2e45bf8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

netpachong/pachongSavePic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def create_save_path(self, path):
2020
def save_picture(self, url, path):
2121
request = urllib.request.Request(url)
2222
request.add_header('User-Agent',
23-
'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36')
23+
'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36')
2424
request.add_header('GET', url)
2525

2626
print("save pic: %s" % url)

netpachong/readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Project Cartoon detail version
2+
http://www.jianshu.com/p/f91baf9b8926
23
pachongBase.py
34
pachongGetPic.py
45
pachongListComics.py

0 commit comments

Comments
 (0)