NanmiCoder / NanmiCoder/MediaCrawler

[BUG]获取评论都是account blocked

Open
#689 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
65.3k
Forks
12.6k
PR merge metrics
No merged PRs in 30d

Description

🔍 问题检查清单

  • 我已经仔细阅读了项目使用过程中的常见问题汇总
  • 我已经搜索并查看了已关闭的issues
  • 我确认这不是由于滑块验证码、Cookie过期、Cookie提取错误、平台风控等常见原因导致的问题

🐛 问题描述

search爬取抖音评论,想测试一下,_帖子_都获取到了,但是评论都没有获取成功 全是get comments failed, error: account blocked,

📝 复现步骤

  1. CDP模式
  2. 扫码登录

💻 运行环境

  • 操作系统: windows11
  • Python版本: 3.12
  • 是否使用IP代理: 否
  • 是否使用VPN翻墙软件:是
  • 目标平台(抖音/小红书/微博等): 抖音

📋 错误日志

在此粘贴错误日志

2025-07-31 16:35:41 MediaCrawler INFO (init.py:174) - [store.douyin.update_douyin_aweme] douyin aweme id:7112050394863308046, title:想学Python接单主要学会这三个方向 #python #副业
2025-07-31 16:35:41 MediaCrawler INFO (core.py:333) - [DouYinCrawler.get_aweme_media] Crawling image mode is not enabled
2025-07-31 16:35:41 MediaCrawler INFO (init.py:174) - [store.douyin.update_douyin_aweme] douyin aweme id:7512031243123395894, title:去正规的接单平台去接单,这些接单平台都可以#计算机 #编程 #python #一分钟干货教学
2025-07-31 16:35:41 MediaCrawler INFO (core.py:333) - [DouYinCrawler.get_aweme_media] Crawling image mode is not enabled
2025-07-31 16:35:41 MediaCrawler INFO (init.py:174) - [store.douyin.update_douyin_aweme] douyin aweme id:6901942512705932548, title:白天上班敲敲代码,晚上空闲时间兼职接接私活,每月轻松3万+,很庆幸当初选择学了前端#工资 #程序员
2025-07-31 16:35:41 MediaCrawler INFO (core.py:333) - [DouYinCrawler.get_aweme_media] Crawling image mode is not enabled
2025-07-31 16:35:41 MediaCrawler INFO (init.py:174) - [store.douyin.update_douyin_aweme] douyin aweme id:7229691353897258297, title:大龄程序员失业如何搞钱? #程序员 #程序员
2025-07-31 16:35:41 MediaCrawler INFO (core.py:333) - [DouYinCrawler.get_aweme_media] Crawling image mode is not enabled
2025-07-31 16:35:41 MediaCrawler INFO (init.py:174) - [store.douyin.update_douyin_aweme] douyin aweme id:7097177579165125903, title:程序员通过副业挣💰,自己好好研究下讲的思路 #程序员 #编程
2025-07-31 16:35:41 MediaCrawler INFO (core.py:333) - [DouYinCrawler.get_aweme_media] Crawling image mode is not enabled
2025-07-31 16:35:41 MediaCrawler INFO (core.py:150) - [DouYinCrawler.search] keyword:编程兼职, aweme_list:['7044190364269284612', '7503495271360302370', '6944305619331452201', '7282595935106895165', '7405857728335252774', '7220361808006204711', '7113524670976085279', '7511655739229064505', '7037459704355867908', '7085159512193109255', '7112050394863308046', '7512031243123395894', '6901942512705932548', '7229691353897258297', '7097177579165125903']
2025-07-31 16:35:46 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:46 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7044190364269284612 get comments failed, error: account blocked,
2025-07-31 16:35:47 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:47 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7503495271360302370 get comments failed, error: account blocked,
2025-07-31 16:35:47 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:47 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 6944305619331452201 get comments failed, error: account blocked,
2025-07-31 16:35:49 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:49 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7405857728335252774 get comments failed, error: account blocked,
2025-07-31 16:35:49 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:49 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7282595935106895165 get comments failed, error: account blocked,
2025-07-31 16:35:49 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:49 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7220361808006204711 get comments failed, error: account blocked,
2025-07-31 16:35:52 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:52 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7113524670976085279 get comments failed, error: account blocked,
2025-07-31 16:35:52 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:52 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7511655739229064505 get comments failed, error: account blocked,
2025-07-31 16:35:54 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7037459704355867908 get comments failed, error: account blocked,
2025-07-31 16:35:54 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7085159512193109255 get comments failed, error: account blocked,
2025-07-31 16:35:54 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7112050394863308046 get comments failed, error: account blocked,
2025-07-31 16:35:56 MediaCrawler ERROR (client.py:103) - request params incrr, response.text:
2025-07-31 16:35:56 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 6901942512705932548 get comments failed, error: account blocked,

📷 错误截图

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing DouYinCrawler.get_comments in core.py and the request handling around client.py:103, using the repeated incrr error lines as the initial reproduction signal. Confirm whether the failure is reproducible under the stated CDP and Windows 11 setup; done requires an agreed cause and a verified fix or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.