Comments (3)
中文编码的问题,修改一下encode类型,encode(sys.stdout.encoding)
from weibospider.
我这倒是要string.decode('gbk')才能运作
from weibospider.
把所有encode('gbk') 的gbk都改成utf-8就好了。
from weibospider.
Related Issues (20)
- cookie错误或已过期,请按照README中方法重新获取 HOT 4
- 可以爬访客记录吗? HOT 2
- 超话名人动态 HOT 2
- 请问能否增加爬自己微博的阅读数 HOT 5
- 通过用户 ID 删除图像链接 HOT 3
- 爬到1百多页还没有全部爬完时程序会自动结束 HOT 2
- cookie错误或已过期,请按照README中方法重新获取 HOT 1
- 可以添加一个获取阅读量选项吗? HOT 2
- 配置了mysql,但是似乎没有创建任何database,也没有写任何数据到mysql HOT 1
- 如果该UID没有新的内容,会重复在csv和txt文件中记录重复的title HOT 1
- 当前账号没有浏览该视频的权限
- 我想请问就是这个'X-Xsrf-Token': 'a62fb7'过期导致不能获得评论,还是说这个代码本来就是运行不通的 HOT 1
- 打包部署的问题 HOT 1
- 无法使用了 HOT 2
- 为什么我写入csv的时候有时是乱码 HOT 2
- 爬虫程序只爬取部分时间段的微博,并不是我设置的时间 HOT 5
- (unknown location) HOT 1
- 无法运行 HOT 7
- 视频播放量 HOT 1
- 视频爬取失败 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weibospider.