dataabc/weibo-crawler

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

Aperta

#395 aperta il 15 ago 2023

 (7 commenti) (0 reazioni) (0 assegnatari)Python (899 fork)github user discovery
help wanted

Metriche repository

Star
 (4515 stelle)
Metriche merge PR
 (Merge medio 14h 50m) (1 PR mergiata in 30 g)

Descrizione

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

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

Guida contributor