zouzanyan / douyin_crawl

抖音视频批量爬取
GNU General Public License v3.0
70 stars 16 forks source link

输入https://www.douyin.com/user/MS4wLjABAAAAK8yyhMzdNAtyWqupVvVBXB_4bmr6DMAZ0zpGn91qlJU?vid=7124859220079561995地址之后报错 #8

Open SamUncle opened 8 months ago

SamUncle commented 8 months ago

Traceback (most recent call last): File "/Users/apple/Downloads/douyin_crawl-main/CrawlHome.py", line 157, in c.get_home_video(user_in) File "/Users/apple/Downloads/douyin_crawl-main/CrawlHome.py", line 79, in get_home_video cursor = json_str["max_cursor"] # 当页页码 KeyError: 'max_cursor'

zouzanyan commented 7 months ago

image 检查一下cookie配置,我这里可以正常下载

sgggp commented 3 months ago

cookie配置怎么检查,我是 cursor = json_str["max_cursor"] # 当页页码


KeyError: 'max_cursor'
这种报错,跑不起来
SevenOfPaul commented 2 months ago

报错同上

zouzanyan commented 2 months ago

报错同上

cookie配置怎么检查,我是 cursor = json_str["max_cursor"] # 当页页码 ~~~~^^^^^^^^^^^^^^ KeyError: 'max_cursor' 这种报错,跑不起来

最近将修复