Skip to content

[BUG] ERROR 无效响应类型。响应类型: <class 'NoneType'> #600

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

Open
Dragon617 opened this issue Mar 23, 2025 · 10 comments
Open

[BUG] ERROR 无效响应类型。响应类型: <class 'NoneType'> #600

Dragon617 opened this issue Mar 23, 2025 · 10 comments
Assignees
Labels
BUG Something isn't working

Comments

@Dragon617
Copy link

Dragon617 commented Mar 23, 2025

发生错误的平台?

如:抖音

提交的输入值?

短视频链接:https://v.douyin.com/i5Tbu5eN/ 08/02 icn:/ [email protected]

是否有再次尝试?

如:是,发生错误后在2025年3月23日21:38:32后错误依旧存在。

错误代码
2025-03-23 21:35:21 INFO: 172.17.0.1:37520 - "GET /api/hybrid/video_data?url=https://v.douyin.com/XIIyVaTM0vQ&minimal=False HTTP/1.1" 400 Bad Request
2025-03-23 21:35:59 WARNING 第 1 次响应内容为空, 状态码: 200,
2025-03-23 21:35:59 URL:https://www.douyin.com/aweme/v1/web/aweme/detail/?device_platform=w
2025-03-23 21:35:59 ebapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=290
2025-03-23 21:35:59 100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&screen_he
2025-03-23 21:35:59 ight=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Ch
2025-03-23 21:35:59 rome&browser_version=130.0.0.0&browser_online=true&engine_name=Blink&en
2025-03-23 21:35:59 gine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num=12&de
2025-03-23 21:35:59 vice_memory=8&platform=PC&downlink=10&effective_type=4g&from_user_page=
2025-03-23 21:35:59 1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&publish_v
2025-03-23 21:35:59 ideo_strategy_type=2&round_trip_time=0&show_live_replay_strategy=1&time
2025-03-23 21:35:59 _list_query=0&whale_cut_token=&update_version_code=170400&msToken=&awem
2025-03-23 21:35:59 e_id=7476519315408178495&a_bogus=YvmhBmLhDi6shD6X56ALfY3q6l8VYmsg0SVkMD
2025-03-23 21:35:59 2fqBDO1L39HMP-9exoX2JvwwRjx4%2FhIeEjy4hbT3ohrQ2y0Hwf9W0L%2F25ksDSkKl5Q5
2025-03-23 21:35:59 xSSs1X9eghgJ04qmkt5SMx2RvB-rOXmqhZHKRbp09oHmhK4b1dzFgf3qJLz5f%3D%3D
2025-03-23 21:36:09 WARNING 第 2 次响应内容为空, 状态码: 200,
2025-03-23 21:36:09 URL:https://www.douyin.com/aweme/v1/web/aweme/detail/?device_platform=w
2025-03-23 21:36:09 ebapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=290
2025-03-23 21:36:09 100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&screen_he
2025-03-23 21:36:09 ight=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Ch
2025-03-23 21:36:09 rome&browser_version=130.0.0.0&browser_online=true&engine_name=Blink&en
2025-03-23 21:36:09 gine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num=12&de
2025-03-23 21:36:09 vice_memory=8&platform=PC&downlink=10&effective_type=4g&from_user_page=
2025-03-23 21:36:09 1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&publish_v
2025-03-23 21:36:09 ideo_strategy_type=2&round_trip_time=0&show_live_replay_strategy=1&time
2025-03-23 21:36:09 _list_query=0&whale_cut_token=&update_version_code=170400&msToken=&awem
2025-03-23 21:36:09 e_id=7476519315408178495&a_bogus=YvmhBmLhDi6shD6X56ALfY3q6l8VYmsg0SVkMD
2025-03-23 21:36:09 2fqBDO1L39HMP-9exoX2JvwwRjx4%2FhIeEjy4hbT3ohrQ2y0Hwf9W0L%2F25ksDSkKl5Q5
2025-03-23 21:36:09 xSSs1X9eghgJ04qmkt5SMx2RvB-rOXmqhZHKRbp09oHmhK4b1dzFgf3qJLz5f%3D%3D
2025-03-23 21:36:19 WARNING 第 3 次响应内容为空, 状态码: 200,
2025-03-23 21:36:19 URL:https://www.douyin.com/aweme/v1/web/aweme/detail/?device_platform=w
2025-03-23 21:36:19 ebapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=290
2025-03-23 21:36:19 100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&screen_he
2025-03-23 21:36:19 ight=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Ch
2025-03-23 21:36:19 rome&browser_version=130.0.0.0&browser_online=true&engine_name=Blink&en
2025-03-23 21:36:19 gine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num=12&de
2025-03-23 21:36:19 vice_memory=8&platform=PC&downlink=10&effective_type=4g&from_user_page=
2025-03-23 21:36:19 1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&publish_v
2025-03-23 21:36:19 ideo_strategy_type=2&round_trip_time=0&show_live_replay_strategy=1&time
2025-03-23 21:36:19 _list_query=0&whale_cut_token=&update_version_code=170400&msToken=&awem
2025-03-23 21:36:19 e_id=7476519315408178495&a_bogus=YvmhBmLhDi6shD6X56ALfY3q6l8VYmsg0SVkMD
2025-03-23 21:36:19 2fqBDO1L39HMP-9exoX2JvwwRjx4%2FhIeEjy4hbT3ohrQ2y0Hwf9W0L%2F25ksDSkKl5Q5
2025-03-23 21:36:19 xSSs1X9eghgJ04qmkt5SMx2RvB-rOXmqhZHKRbp09oHmhK4b1dzFgf3qJLz5f%3D%3D
2025-03-23 21:36:19 程序出现异常,请检查错误信息。
2025-03-23 21:36:19 ERROR 无效响应类型。响应类型: <class 'NoneType'>
2025-03-23 21:36:19 程序出现异常,请检查错误信息。
2025-03-23 21:36:19 INFO: 172.17.0.1:44478 - "GET /api/hybrid/video_data?url=https://v.douyin.com/i5Tbu5eN&minimal=False HTTP/1.1" 400 Bad Request

在AstrBot平台是这个提示
[21:35:59] [Core] [INFO] [core.event_bus:21]: [aiocqhttp] Dragon0617/1534676849: 2.87 复制打开抖音,看看【耀哥说AI的作 品】万物开花2.0视频教程 答应大家的万物开花2.0版... https://v.douyin.com/i5Tbu5eN/ 08/02 icn:/ [email protected]
Error fetching video data: 400, message='Bad Request', url='http://localhost/api/hybrid/video_data?url=https://v.douyin.com/i5Tbu5eN&minimal=False'
解析失败,请检查链接是否正确。
[21:36:20] [Core] [INFO] [respond.stage:110]: AstrBot -> Dragon0617/1534676849: 检测到抖音链接,但解析失败,请检查链接 是否正确。

@Dragon617 Dragon617 added the BUG Something isn't working label Mar 23, 2025
@Dragon617 Dragon617 changed the title [BUG] 简短明了的描述问题 [BUG] ERROR 无效响应类型。响应类型: <class 'NoneType'> Mar 23, 2025
@Evil0ctal
Copy link
Owner

使用的是最新的版本吗

@bovine-liu
Copy link

请问推送dockerhub 了吗?辛苦大大

@schiffinor
Copy link

I'm having the same issue right now, problem only arose after several thousands of requests. I am working on a research project, could it be i went over some limit, if so is there any solution?

here is a sample of my logs:

2025-03-25 15:54:38 INFO: 172.17.0.1:51082 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7480024022340717862&comment_id=7482436070828065555&cursor=0&count=2 HTTP/1.1" 200 OK
2025-03-25 15:54:39 INFO: 172.17.0.1:51088 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7480024022340717862&comment_id=7482432003011511052&cursor=0&count=4 HTTP/1.1" 200 OK
2025-03-25 15:54:40 INFO: 172.17.0.1:56164 - "GET /api/douyin/web/get_aweme_id?url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7452274003701517580 HTTP/1.1" 200 OK
2025-03-25 15:54:43 INFO: 172.17.0.1:56176 - "GET /api/douyin/web/fetch_one_video?aweme_id=7452274003701517580 HTTP/1.1" 200 OK
2025-03-25 15:54:44 INFO: 172.17.0.1:56190 - "GET /api/douyin/web/fetch_video_comments?aweme_id=7452274003701517580&count=8442 HTTP/1.1" 200 OK
2025-03-25 15:54:45 INFO: 172.17.0.1:56202 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7467428271832449849&cursor=0&count=416 HTTP/1.1" 200 OK
2025-03-25 15:54:46 INFO: 172.17.0.1:56214 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7479384797644653369&cursor=0&count=5 HTTP/1.1" 200 OK
2025-03-25 15:54:47 INFO: 172.17.0.1:56224 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7454214034959696674&cursor=0&count=4 HTTP/1.1" 200 OK
2025-03-25 15:54:47 INFO: 172.17.0.1:56232 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7452608837888279307&cursor=0&count=88 HTTP/1.1" 200 OK
2025-03-25 15:54:48 INFO: 172.17.0.1:56234 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470028716670190387&cursor=0&count=20 HTTP/1.1" 200 OK
2025-03-25 15:54:49 INFO: 172.17.0.1:56244 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470387963698217763&cursor=0&count=7 HTTP/1.1" 200 OK
2025-03-25 15:54:50 INFO: 172.17.0.1:56250 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7473652355587654415&cursor=0&count=33 HTTP/1.1" 200 OK
2025-03-25 15:54:51 INFO: 172.17.0.1:56254 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470929798626378506&cursor=0&count=3 HTTP/1.1" 200 OK
2025-03-25 15:54:52 INFO: 172.17.0.1:56262 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470396574926799675&cursor=0&count=6 HTTP/1.1" 200 OK
2025-03-25 15:54:53 INFO: 172.17.0.1:48314 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7465319988485636901&cursor=0&count=116 HTTP/1.1" 200 OK
2025-03-25 15:54:54 INFO: 172.17.0.1:48322 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7467084139738186554&cursor=0&count=13 HTTP/1.1" 200 OK
2025-03-25 15:54:56 INFO: 172.17.0.1:48326 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7466074705985127228&cursor=0&count=10 HTTP/1.1" 200 OK
2025-03-25 15:54:57 INFO: 172.17.0.1:48336 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7468174991540978444&cursor=0&count=11 HTTP/1.1" 200 OK
2025-03-25 15:54:58 INFO: 172.17.0.1:48352 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7452913772920537865&cursor=0&count=3 HTTP/1.1" 200 OK
2025-03-25 15:54:59 WARNING 第 1 次响应内容为空, 状态码: 200,
2025-03-25 15:54:59 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat
2025-03-25 15:54:59 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co
2025-03-25 15:54:59 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr
2025-03-25 15:54:59 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n
2025-03-25 15:54:59 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl
2025-03-25 15:54:59 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num
2025-03-25 15:54:59 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user
2025-03-25 15:54:59 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub
2025-03-25 15:54:59 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy=
2025-03-25 15:54:59 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken
2025-03-25 15:54:59 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl
2025-03-25 15:54:59 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452
2025-03-25 15:54:59 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty
2025-03-25 15:54:59 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5
2025-03-25 15:55:10 WARNING 第 2 次响应内容为空, 状态码: 200,
2025-03-25 15:55:10 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat
2025-03-25 15:55:10 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co
2025-03-25 15:55:10 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr
2025-03-25 15:55:10 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n
2025-03-25 15:55:10 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl
2025-03-25 15:55:10 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num
2025-03-25 15:55:10 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user
2025-03-25 15:55:10 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub
2025-03-25 15:55:10 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy=
2025-03-25 15:55:10 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken
2025-03-25 15:55:10 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl
2025-03-25 15:55:10 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452
2025-03-25 15:55:10 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty
2025-03-25 15:55:10 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5
2025-03-25 15:55:23 WARNING 第 3 次响应内容为空, 状态码: 200,
2025-03-25 15:55:23 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat
2025-03-25 15:55:23 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co
2025-03-25 15:55:23 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr
2025-03-25 15:55:23 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n
2025-03-25 15:55:23 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl
2025-03-25 15:55:23 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num
2025-03-25 15:55:23 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user
2025-03-25 15:55:23 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub
2025-03-25 15:55:23 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy=
2025-03-25 15:55:23 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken
2025-03-25 15:55:23 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl
2025-03-25 15:55:23 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452
2025-03-25 15:55:23 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty
2025-03-25 15:55:23 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5
2025-03-25 15:55:23 程序出现异常,请检查错误信息。
2025-03-25 15:55:23 ERROR 无效响应类型。响应类型: <class 'NoneType'>
2025-03-25 16:05:23 程序出现异常,请检查错误信息。
2025-03-25 16:05:23 INFO: 172.17.0.1:57414 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2025-03-25 16:15:27 INFO: 172.17.0.1:36316 - "GET /api/douyin/web/get_aweme_id?url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7478975202127301942 HTTP/1.1" 200 OK
2025-03-25 16:15:28 INFO: 172.17.0.1:36322 - "GET /api/douyin/web/fetch_one_video?aweme_id=7478975202127301942 HTTP/1.1" 200 OK
2025-03-25 16:15:29 INFO: 172.17.0.1:36332 - "GET /api/douyin/web/fetch_video_comments?aweme_id=7478975202127301942&count=10336 HTTP/1.1" 200 OK
2025-03-25 16:15:30 WARNING 第 1 次响应内容为空, 状态码: 200,
2025-03-25 16:15:30 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat
2025-03-25 16:15:30 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co
2025-03-25 16:15:30 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr
2025-03-25 16:15:30 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n
2025-03-25 16:15:30 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl
2025-03-25 16:15:30 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num
2025-03-25 16:15:30 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user
2025-03-25 16:15:30 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub
2025-03-25 16:15:30 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy=
2025-03-25 16:15:30 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken
2025-03-25 16:15:30 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu
2025-03-25 16:15:30 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478
2025-03-25 16:15:30 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty
2025-03-25 16:15:30 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu
2025-03-25 16:15:41 WARNING 第 2 次响应内容为空, 状态码: 200,
2025-03-25 16:15:41 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat
2025-03-25 16:15:41 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co
2025-03-25 16:15:41 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr
2025-03-25 16:15:41 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n
2025-03-25 16:15:41 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl
2025-03-25 16:15:41 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num
2025-03-25 16:15:41 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user
2025-03-25 16:15:41 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub
2025-03-25 16:15:41 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy=
2025-03-25 16:15:41 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken
2025-03-25 16:15:41 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu
2025-03-25 16:15:41 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478
2025-03-25 16:15:41 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty
2025-03-25 16:15:41 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu
2025-03-25 16:15:54 WARNING 第 3 次响应内容为空, 状态码: 200,
2025-03-25 16:15:54 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat
2025-03-25 16:15:54 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co
2025-03-25 16:15:54 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr
2025-03-25 16:15:54 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n
2025-03-25 16:15:54 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl
2025-03-25 16:15:54 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num
2025-03-25 16:15:54 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user
2025-03-25 16:15:54 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub
2025-03-25 16:15:54 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy=
2025-03-25 16:15:54 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken
2025-03-25 16:15:54 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu
2025-03-25 16:15:54 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478
2025-03-25 16:15:54 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty
2025-03-25 16:15:54 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu
2025-03-25 16:15:54 程序出现异常,请检查错误信息。
2025-03-25 16:15:54 ERROR 无效响应类型。响应类型: <class 'NoneType'>

@a186232641
Copy link

I'm having the same issue right now, problem only arose after several thousands of requests. I am working on a research project, could it be i went over some limit, if so is there any solution?

here is a sample of my logs:

2025-03-25 15:54:38 INFO: 172.17.0.1:51082 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7480024022340717862&comment_id=7482436070828065555&cursor=0&count=2 HTTP/1.1" 200 OK 2025-03-25 15:54:39 INFO: 172.17.0.1:51088 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7480024022340717862&comment_id=7482432003011511052&cursor=0&count=4 HTTP/1.1" 200 OK 2025-03-25 15:54:40 INFO: 172.17.0.1:56164 - "GET /api/douyin/web/get_aweme_id?url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7452274003701517580 HTTP/1.1" 200 OK 2025-03-25 15:54:43 INFO: 172.17.0.1:56176 - "GET /api/douyin/web/fetch_one_video?aweme_id=7452274003701517580 HTTP/1.1" 200 OK 2025-03-25 15:54:44 INFO: 172.17.0.1:56190 - "GET /api/douyin/web/fetch_video_comments?aweme_id=7452274003701517580&count=8442 HTTP/1.1" 200 OK 2025-03-25 15:54:45 INFO: 172.17.0.1:56202 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7467428271832449849&cursor=0&count=416 HTTP/1.1" 200 OK 2025-03-25 15:54:46 INFO: 172.17.0.1:56214 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7479384797644653369&cursor=0&count=5 HTTP/1.1" 200 OK 2025-03-25 15:54:47 INFO: 172.17.0.1:56224 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7454214034959696674&cursor=0&count=4 HTTP/1.1" 200 OK 2025-03-25 15:54:47 INFO: 172.17.0.1:56232 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7452608837888279307&cursor=0&count=88 HTTP/1.1" 200 OK 2025-03-25 15:54:48 INFO: 172.17.0.1:56234 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470028716670190387&cursor=0&count=20 HTTP/1.1" 200 OK 2025-03-25 15:54:49 INFO: 172.17.0.1:56244 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470387963698217763&cursor=0&count=7 HTTP/1.1" 200 OK 2025-03-25 15:54:50 INFO: 172.17.0.1:56250 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7473652355587654415&cursor=0&count=33 HTTP/1.1" 200 OK 2025-03-25 15:54:51 INFO: 172.17.0.1:56254 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470929798626378506&cursor=0&count=3 HTTP/1.1" 200 OK 2025-03-25 15:54:52 INFO: 172.17.0.1:56262 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470396574926799675&cursor=0&count=6 HTTP/1.1" 200 OK 2025-03-25 15:54:53 INFO: 172.17.0.1:48314 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7465319988485636901&cursor=0&count=116 HTTP/1.1" 200 OK 2025-03-25 15:54:54 INFO: 172.17.0.1:48322 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7467084139738186554&cursor=0&count=13 HTTP/1.1" 200 OK 2025-03-25 15:54:56 INFO: 172.17.0.1:48326 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7466074705985127228&cursor=0&count=10 HTTP/1.1" 200 OK 2025-03-25 15:54:57 INFO: 172.17.0.1:48336 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7468174991540978444&cursor=0&count=11 HTTP/1.1" 200 OK 2025-03-25 15:54:58 INFO: 172.17.0.1:48352 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7452913772920537865&cursor=0&count=3 HTTP/1.1" 200 OK 2025-03-25 15:54:59 WARNING 第 1 次响应内容为空, 状态码: 200, 2025-03-25 15:54:59 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 15:54:59 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 15:54:59 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 15:54:59 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 15:54:59 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 15:54:59 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 15:54:59 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 15:54:59 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 15:54:59 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 15:54:59 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 15:54:59 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl 2025-03-25 15:54:59 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452 2025-03-25 15:54:59 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty 2025-03-25 15:54:59 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5 2025-03-25 15:55:10 WARNING 第 2 次响应内容为空, 状态码: 200, 2025-03-25 15:55:10 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 15:55:10 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 15:55:10 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 15:55:10 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 15:55:10 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 15:55:10 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 15:55:10 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 15:55:10 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 15:55:10 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 15:55:10 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 15:55:10 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl 2025-03-25 15:55:10 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452 2025-03-25 15:55:10 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty 2025-03-25 15:55:10 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5 2025-03-25 15:55:23 WARNING 第 3 次响应内容为空, 状态码: 200, 2025-03-25 15:55:23 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 15:55:23 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 15:55:23 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 15:55:23 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 15:55:23 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 15:55:23 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 15:55:23 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 15:55:23 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 15:55:23 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 15:55:23 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 15:55:23 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl 2025-03-25 15:55:23 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452 2025-03-25 15:55:23 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty 2025-03-25 15:55:23 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5 2025-03-25 15:55:23 程序出现异常,请检查错误信息。 2025-03-25 15:55:23 ERROR 无效响应类型。响应类型: <class 'NoneType'> 2025-03-25 16:05:23 程序出现异常,请检查错误信息。 2025-03-25 16:05:23 INFO: 172.17.0.1:57414 - "GET /favicon.ico HTTP/1.1" 404 Not Found 2025-03-25 16:15:27 INFO: 172.17.0.1:36316 - "GET /api/douyin/web/get_aweme_id?url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7478975202127301942 HTTP/1.1" 200 OK 2025-03-25 16:15:28 INFO: 172.17.0.1:36322 - "GET /api/douyin/web/fetch_one_video?aweme_id=7478975202127301942 HTTP/1.1" 200 OK 2025-03-25 16:15:29 INFO: 172.17.0.1:36332 - "GET /api/douyin/web/fetch_video_comments?aweme_id=7478975202127301942&count=10336 HTTP/1.1" 200 OK 2025-03-25 16:15:30 WARNING 第 1 次响应内容为空, 状态码: 200, 2025-03-25 16:15:30 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 16:15:30 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 16:15:30 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 16:15:30 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 16:15:30 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 16:15:30 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 16:15:30 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 16:15:30 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 16:15:30 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 16:15:30 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 16:15:30 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu 2025-03-25 16:15:30 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478 2025-03-25 16:15:30 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty 2025-03-25 16:15:30 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu 2025-03-25 16:15:41 WARNING 第 2 次响应内容为空, 状态码: 200, 2025-03-25 16:15:41 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 16:15:41 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 16:15:41 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 16:15:41 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 16:15:41 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 16:15:41 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 16:15:41 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 16:15:41 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 16:15:41 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 16:15:41 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 16:15:41 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu 2025-03-25 16:15:41 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478 2025-03-25 16:15:41 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty 2025-03-25 16:15:41 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu 2025-03-25 16:15:54 WARNING 第 3 次响应内容为空, 状态码: 200, 2025-03-25 16:15:54 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 16:15:54 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 16:15:54 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 16:15:54 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 16:15:54 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 16:15:54 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 16:15:54 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 16:15:54 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 16:15:54 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 16:15:54 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 16:15:54 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu 2025-03-25 16:15:54 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478 2025-03-25 16:15:54 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty 2025-03-25 16:15:54 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu 2025-03-25 16:15:54 程序出现异常,请检查错误信息。 2025-03-25 16:15:54 ERROR 无效响应类型。响应类型: <class 'NoneType'>

我也是相同的问题

@schiffinor
Copy link

I'm having the same issue right now, problem only arose after several thousands of requests. I am working on a research project, could it be i went over some limit, if so is there any solution?
here is a sample of my logs:
2025-03-25 15:54:38 INFO: 172.17.0.1:51082 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7480024022340717862&comment_id=7482436070828065555&cursor=0&count=2 HTTP/1.1" 200 OK 2025-03-25 15:54:39 INFO: 172.17.0.1:51088 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7480024022340717862&comment_id=7482432003011511052&cursor=0&count=4 HTTP/1.1" 200 OK 2025-03-25 15:54:40 INFO: 172.17.0.1:56164 - "GET /api/douyin/web/get_aweme_id?url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7452274003701517580 HTTP/1.1" 200 OK 2025-03-25 15:54:43 INFO: 172.17.0.1:56176 - "GET /api/douyin/web/fetch_one_video?aweme_id=7452274003701517580 HTTP/1.1" 200 OK 2025-03-25 15:54:44 INFO: 172.17.0.1:56190 - "GET /api/douyin/web/fetch_video_comments?aweme_id=7452274003701517580&count=8442 HTTP/1.1" 200 OK 2025-03-25 15:54:45 INFO: 172.17.0.1:56202 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7467428271832449849&cursor=0&count=416 HTTP/1.1" 200 OK 2025-03-25 15:54:46 INFO: 172.17.0.1:56214 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7479384797644653369&cursor=0&count=5 HTTP/1.1" 200 OK 2025-03-25 15:54:47 INFO: 172.17.0.1:56224 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7454214034959696674&cursor=0&count=4 HTTP/1.1" 200 OK 2025-03-25 15:54:47 INFO: 172.17.0.1:56232 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7452608837888279307&cursor=0&count=88 HTTP/1.1" 200 OK 2025-03-25 15:54:48 INFO: 172.17.0.1:56234 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470028716670190387&cursor=0&count=20 HTTP/1.1" 200 OK 2025-03-25 15:54:49 INFO: 172.17.0.1:56244 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470387963698217763&cursor=0&count=7 HTTP/1.1" 200 OK 2025-03-25 15:54:50 INFO: 172.17.0.1:56250 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7473652355587654415&cursor=0&count=33 HTTP/1.1" 200 OK 2025-03-25 15:54:51 INFO: 172.17.0.1:56254 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470929798626378506&cursor=0&count=3 HTTP/1.1" 200 OK 2025-03-25 15:54:52 INFO: 172.17.0.1:56262 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7470396574926799675&cursor=0&count=6 HTTP/1.1" 200 OK 2025-03-25 15:54:53 INFO: 172.17.0.1:48314 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7465319988485636901&cursor=0&count=116 HTTP/1.1" 200 OK 2025-03-25 15:54:54 INFO: 172.17.0.1:48322 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7467084139738186554&cursor=0&count=13 HTTP/1.1" 200 OK 2025-03-25 15:54:56 INFO: 172.17.0.1:48326 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7466074705985127228&cursor=0&count=10 HTTP/1.1" 200 OK 2025-03-25 15:54:57 INFO: 172.17.0.1:48336 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7468174991540978444&cursor=0&count=11 HTTP/1.1" 200 OK 2025-03-25 15:54:58 INFO: 172.17.0.1:48352 - "GET /api/douyin/web/fetch_video_comment_replies?item_id=7452274003701517580&comment_id=7452913772920537865&cursor=0&count=3 HTTP/1.1" 200 OK 2025-03-25 15:54:59 WARNING 第 1 次响应内容为空, 状态码: 200, 2025-03-25 15:54:59 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 15:54:59 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 15:54:59 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 15:54:59 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 15:54:59 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 15:54:59 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 15:54:59 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 15:54:59 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 15:54:59 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 15:54:59 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 15:54:59 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl 2025-03-25 15:54:59 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452 2025-03-25 15:54:59 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty 2025-03-25 15:54:59 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5 2025-03-25 15:55:10 WARNING 第 2 次响应内容为空, 状态码: 200, 2025-03-25 15:55:10 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 15:55:10 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 15:55:10 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 15:55:10 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 15:55:10 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 15:55:10 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 15:55:10 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 15:55:10 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 15:55:10 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 15:55:10 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 15:55:10 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl 2025-03-25 15:55:10 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452 2025-03-25 15:55:10 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty 2025-03-25 15:55:10 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5 2025-03-25 15:55:23 WARNING 第 3 次响应内容为空, 状态码: 200, 2025-03-25 15:55:23 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 15:55:23 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 15:55:23 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 15:55:23 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 15:55:23 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 15:55:23 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 15:55:23 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 15:55:23 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 15:55:23 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 15:55:23 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 15:55:23 =Wxw-b4eCAzl_5OpAKyh1m4aGMYU3VXVfmVH2qKozglUTLIPyZXNuB93yw0Be_4qtp6_eBl 2025-03-25 15:55:23 m-DU-GpqIHzGYJNe74tPKO6fd1axaCOhldmD70ikUvVMUpTo0ygpwJTA==&item_id=7452 2025-03-25 15:55:23 274003701517580&comment_id=7452856954026001190&cursor=0&count=2&item_ty 2025-03-25 15:55:23 pe=0&X-Bogus=DFSzswVYvTGANGVRthl/ll9WX7J5 2025-03-25 15:55:23 程序出现异常,请检查错误信息。 2025-03-25 15:55:23 ERROR 无效响应类型。响应类型: <class 'NoneType'> 2025-03-25 16:05:23 程序出现异常,请检查错误信息。 2025-03-25 16:05:23 INFO: 172.17.0.1:57414 - "GET /favicon.ico HTTP/1.1" 404 Not Found 2025-03-25 16:15:27 INFO: 172.17.0.1:36316 - "GET /api/douyin/web/get_aweme_id?url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7478975202127301942 HTTP/1.1" 200 OK 2025-03-25 16:15:28 INFO: 172.17.0.1:36322 - "GET /api/douyin/web/fetch_one_video?aweme_id=7478975202127301942 HTTP/1.1" 200 OK 2025-03-25 16:15:29 INFO: 172.17.0.1:36332 - "GET /api/douyin/web/fetch_video_comments?aweme_id=7478975202127301942&count=10336 HTTP/1.1" 200 OK 2025-03-25 16:15:30 WARNING 第 1 次响应内容为空, 状态码: 200, 2025-03-25 16:15:30 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 16:15:30 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 16:15:30 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 16:15:30 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 16:15:30 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 16:15:30 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 16:15:30 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 16:15:30 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 16:15:30 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 16:15:30 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 16:15:30 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu 2025-03-25 16:15:30 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478 2025-03-25 16:15:30 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty 2025-03-25 16:15:30 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu 2025-03-25 16:15:41 WARNING 第 2 次响应内容为空, 状态码: 200, 2025-03-25 16:15:41 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 16:15:41 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 16:15:41 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 16:15:41 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 16:15:41 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 16:15:41 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 16:15:41 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 16:15:41 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 16:15:41 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 16:15:41 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 16:15:41 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu 2025-03-25 16:15:41 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478 2025-03-25 16:15:41 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty 2025-03-25 16:15:41 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu 2025-03-25 16:15:54 WARNING 第 3 次响应内容为空, 状态码: 200, 2025-03-25 16:15:54 URL:https://www.douyin.com/aweme/v1/web/comment/list/reply/?device_plat 2025-03-25 16:15:54 form=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_co 2025-03-25 16:15:54 de=290100&version_name=29.1.0&cookie_enabled=true&screen_width=1920&scr 2025-03-25 16:15:54 een_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_n 2025-03-25 16:15:54 ame=Chrome&browser_version=130.0.0.0&browser_online=true&engine_name=Bl 2025-03-25 16:15:54 ink&engine_version=130.0.0.0&os_name=Windows&os_version=10&cpu_core_num 2025-03-25 16:15:54 =12&device_memory=8&platform=PC&downlink=10&effective_type=4g&from_user 2025-03-25 16:15:54 _page=1&locate_query=false&need_time_list=1&pc_libra_divert=Windows&pub 2025-03-25 16:15:54 lish_video_strategy_type=2&round_trip_time=0&show_live_replay_strategy= 2025-03-25 16:15:54 1&time_list_query=0&whale_cut_token=&update_version_code=170400&msToken 2025-03-25 16:15:54 =nNp5lh0qq6TpL0mTWeAnwioYLxgk3ZsNN9pqjZR1f5O92WTNbxjHlkw6gCvtGP76i5qifu 2025-03-25 16:15:54 jc4r0SljPFe5mmrQXqi6QFq0DzZuosKzVsIjlxpzOedrh2a0SCYgxhsA==&item_id=7478 2025-03-25 16:15:54 975202127301942&comment_id=7479269902748205833&cursor=0&count=1&item_ty 2025-03-25 16:15:54 pe=0&X-Bogus=DFSzswVYe7UANGVRthlQNF9WX7nu 2025-03-25 16:15:54 程序出现异常,请检查错误信息。 2025-03-25 16:15:54 ERROR 无效响应类型。响应类型: <class 'NoneType'>

我也是相同的问题

I'm sorry I don't speak chinese so i just machine translated your comment. I am helping my friends girlfriend with her research project on douyin videos, they are both chinese nationals but bad at tech so they enlisted my help. so im collecting a lot of data, i've realized that the problem begins once a day after processing video, comment, and reply user data for about 25 videos. The problem goes away the next day, making me assume its a quota on the upstream ai that actually fetches the data from douyin, i have a feeling that maybe by generating new ttwid, verify_fp, s_v_web_id, x_bogus, and a_bogus. we might be able to feed that into the docker config and restart to reset quota but im not sure and the english documentation is somewhat lacking. if you would like to try and post results, that would be cool. Please contact me if you find out anything else

@schiffinor
Copy link

I did some more research, and it would seem that I got blocked from the upstream douyin server at the 1010th call for a specific endpoint.

@schiffinor
Copy link

I tested my method of replacing ttwid and s_v_web_id in dockerContainer/app/crawlers/douyin/web.config.yaml once requests are done and it fixed my issue, im not sure if this is a guaranteed solution, but it has worked for me at least now.

@Laxy317
Copy link

Laxy317 commented Apr 16, 2025

我测试了三四个 cookie,请求单个 video 的解析,每个 cookie 都是大概 200 个请求就返回为空,所以应该是有请求上限。
顺便问一下 @schiffinor 你更换的 ttwids_v_web_id,是怎么获取的?有什么办法自己生成吗

@schiffinor
Copy link

我测试了三四个 cookie,请求单个 video 的解析,每个 cookie 都是大概 200 个请求就返回为空,所以应该是有请求上限。
顺便问一下 @schiffinor 你更换的 ttwids_v_web_id,是怎么获取的?有什么办法自己生成吗

I did further testing and it would seem that the technique I outline works to some extent but is inconsistent. Waiting it out works well. I consistently got ~1000 requests before running out as for the ttwid and s_v_web_id yes you can generate them their are endpoints in the API dedicated to this. However if you want to see a full implementation refer to this file: https://github.com/schiffinor/Yanjun/blob/master/DouyinScraper%2FFileFetcher.py

Any function here that uses my get_with_retry function: https://github.com/schiffinor/Yanjun/blob/master/DouyinScraper%2FFileFetcher.py#L568

Demonstrates the full implementation but I specifically have a fetch_ttwid and fetch_s_v_web_id function.

Have in mind I wrote this as a quick project to help my friends girlfriend with her masters' thesis. So the code is a little unorganized and documentation is ai generated lol, I wrote all code and it works if you'd like to reference or use it though.

@Chanpoe
Copy link

Chanpoe commented Apr 23, 2025

我在本地运行可以拿到数据,部署到腾讯云服务器上就遇到了和你一样的问题,而且更换了cookies也没有用🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants