Skip to content

Commit 9115129

Browse files
author
Donkey!
authored
Update and rename 百度贴吧爬虫.md to README.md
1 parent af9cc51 commit 9115129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BDTB/百度贴吧爬虫.md renamed to BDTB/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ response.read()返回的是utf-8编码,需要用decode()方法转化成unicode
117117

118118
第一次写入文件后发现在utf-8的编码模式下是乱码,我猜想是写入的是Unicode编码的文字,在file.open()方法中有个encoding参数,设置为utf-8就不会出现乱码贴一下廖雪峰大大博客里关于编码的讲解
119119

120-
![](https://github.com/5616310189/PythonSpider/raw/master/BDTB/Screenshot.png)
120+
![](https://raw.githubusercontent.com/516310189/PythonSpider/master/BDTB/Screenshot.png)
121121

122122
打开参数:
123123

0 commit comments

Comments
 (0)