dataabc/weibo-crawler

运行过程中出现KeyError: 'card_group'

Open

#395 opened on Aug 15, 2023

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Python (899 forks)github user discovery
help wanted

Repository metrics

Stars
 (4,515 stars)
PR merge metrics
 (Avg merge 14h 50m) (1 merged PR in 30d)

Description

报错信息为: Traceback (most recent call last): File "weibo.py", line 1095, in get_one_page weibos = weibos[0]["card_group"] KeyError: 'card_group'

还有,如果有些博主的主页的ID是字母的形式,不是数字,能爬取吗

Contributor guide