Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当公众号搜索结果有多个时会有异常,没法爬取公众号连接 #172

Closed
Estom opened this issue Feb 8, 2018 · 2 comments
Closed

Comments

@Estom
Copy link

Estom commented Feb 8, 2018

http://weixin.sogou.com/weixin?type=1&query=npudaily&ie=utf8&s_from=input&sug=y&sug_type=

调用的函数为:
ws_api.get_gzh_article_by_history('npudaily')
异常为:
list index out of range

@chyroc
Copy link
Owner

chyroc commented Feb 8, 2018 via email

@chyroc
Copy link
Owner

chyroc commented Feb 21, 2018

可以啊,搜索的结果一般都是好几个,会取第一个的

image

@chyroc chyroc closed this as completed Feb 21, 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

No branches or pull requests

2 participants