NanmiCoder / NanmiCoder/MediaCrawler

[问题]

Open
#705 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

⚠️ 提交前确认

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

❓ 问题描述

爬取几页评论以后 就开始提示这个

🔍 使用场景

  • 目标平台: 抖音
  • 使用功能: 爬取抖音评论的时候 抓去了几页以后 就开始提示这个
  • 操作系统: Windows
  • Python版本: 3.5
  • 是否使用IP代理: 否
  • 是否使用VPN翻墙软件:是
  • 目标平台(抖音/小红书/微博等): 抖音

📋 错误日志

2025-08-13 10:27:53 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7517080876048616762 get comments failed, error: account blocked,
2025-08-13 10:27:53 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:53 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7514214054156619045 get comments failed, error: account blocked,
2025-08-13 10:27:53 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:53 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7516086498082671924 get comments failed, error: account blocked,
2025-08-13 10:27:54 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7536140130113817907 get comments failed, error: account blocked,
2025-08-13 10:27:54 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7512275569245998386 get comments failed, error: account blocked,
2025-08-13 10:27:54 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7517080876048616762 get comments failed, error: account blocked,
2025-08-13 10:27:54 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:54 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7498635669942570278 get comments failed, error: account blocked,
2025-08-13 10:27:55 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:55 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7409120990120201487 get comments failed, error: account blocked,
2025-08-13 10:27:55 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:55 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7474062200303275298 get comments failed, error: account blocked,
2025-08-13 10:27:55 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:55 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7523406699315596584 get comments failed, error: account blocked,
2025-08-13 10:27:55 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:55 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7506841589755432228 get comments failed, error: account blocked,
2025-08-13 10:27:56 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:56 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7516732985501289762 get comments failed, error: account blocked,
2025-08-13 10:27:56 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:56 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7527506564001959168 get comments failed, error: account blocked,
2025-08-13 10:27:56 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:56 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7537170768497560886 get comments failed, error: account blocked,
2025-08-13 10:27:56 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:56 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7520833911971171638 get comments failed, error: account blocked,
2025-08-13 10:27:56 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:56 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7506841589755432228 get comments failed, error: account blocked,
2025-08-13 10:27:57 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:57 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7527506564001959168 get comments failed, error: account blocked,
2025-08-13 10:27:57 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:57 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7537170768497560886 get comments failed, error: account blocked,
2025-08-13 10:27:57 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:57 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7520833911971171638 get comments failed, error: account blocked,
2025-08-13 10:27:57 MediaCrawler ERROR (client.py:101) - request params incrr, response.text:
2025-08-13 10:27:57 MediaCrawler ERROR (core.py:205) - [DouYinCrawler.get_comments] aweme_id: 7521183547038829824 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 at DouYinCrawler.get_comments in core.py:205 and the request handling reported at client.py:101. Reproduce the comment crawl with the reported environment and inspect the logged response details. Done would require a clearly identified, project-side cause and a reproducible fix or an explicit determination that the account block is external.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.