chyroc / WechatSogou

基于搜狗微信搜索的微信公众号爬虫接口
Apache License 2.0
5.9k stars 1.72k forks source link

获取不到公众号文章链接,profile_url为空 #305

Open lovecn opened 4 years ago

lovecn commented 4 years ago
>>> import wechatsogou
>>> ws_api = wechatsogou.WechatSogouAPI()
>>> ws_api.get_gzh_info('南航青年志愿者')
please input code: 8b3eex
{'open_id': 'oIWsFt1tmWoG6vO6BcsS7St61bRE', 'profile_url': '', 'headimage': 'https://img01.sogoucdn.com/app/a/100520090/oIWsFt1tmWoG6vO6BcsS7St61bRE', 'wechat_name': '南航青年志愿者', 'wechat_id': 'na
nhangqinggong', 'qrcode': '', 'introduction': '南航大志愿活动的领跑者,为你提供校内外的志愿资源和精彩
消息.', 'authentication': '\n', 'post_perm': 26, 'view_perm': 365}
>>> ws_api.search_article('大学')
<generator object WechatSogouAPI.search_article at 0x1F6B58F0>
>>> ws_api.get_gzh_article_by_history('南航青年志愿者')
{'gzh': {'wechat_name': '南航青年志愿者', 'wechat_id': 'nanhangqinggong', 'introduction': '南航大志
愿活动的领跑者,为你提供校内外的志愿资源和精彩消息。', 'authentication': '', 'headimage': 'http://wx
.qlogo.cn/mmhead/Q3auHgzwzM4xV5PgPjK5XoPaaQoxnWJA0Hd7nX8HibyA3LEjFrmrVicQ/0'}, 'article': []}
yc930401 commented 3 years ago

我也没获取到,ws_api.get_gzh_article_by_history('南航青年志愿者') 返回的article为空,各种get article相关的都是空。咋回事呀?