Skip to content

Comments

去掉微博内容末尾多余的4个字符,修复单条微博无法抓取的问题#16

Closed
wwwpf wants to merge 1 commit intodataabc:masterfrom
wwwpf:master
Closed

去掉微博内容末尾多余的4个字符,修复单条微博无法抓取的问题#16
wwwpf wants to merge 1 commit intodataabc:masterfrom
wwwpf:master

Conversation

@wwwpf
Copy link

@wwwpf wwwpf commented Mar 2, 2018

No description provided.

@dataabc
Copy link
Owner

dataabc commented Mar 3, 2018

感谢提交,"if len(info) > 2:"的修改在被爬微博账户0条微博的时候会出错,因为它可以通过if语句,而又无法获取内容;另外没有遇到4字符的情况,去掉它们在很多情况下会无法获取微博全部内容

@dataabc dataabc closed this Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants