NanmiCoder / NanmiCoder/MediaCrawler

[问题]我想爬取一个视频的所有评论,但是运行代码后只能爬取三十几个评论。而且二级评论也没有爬取

Open
#552 1 comment 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提取错误、平台风控等常见原因导致的问题

❓ 问题描述

我想爬取一个视频的所有评论,但是运行代码后只能爬取三十几个评论。而且二级评论也没有爬取。
(我已经将base_config.py中的CRAWLER_MAX_COMMENTS_COUNT_SINGLENOTES调成了2000但还是只能爬取三十几个评论)
(可能是我使用方式错误希望大佬帮忙指点一二,跪谢!)

🔍 使用场景

  • 目标平台: b站
  • 使用功能: 爬取一个视频中的所有评论

💻 环境信息

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

📋 错误日志

在此粘贴完整的错误日志

📷 错误截图

Image

Image

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 with base_config.py and the Bilibili video-comment crawling flow, using the reported CRAWLER_MAX_COMMENTS_COUNT_SINGLENOTES setting of 2000. Reproduce the crawl on the stated Windows/Python environment and compare the result with the expected top-level and nested comments. Done means identifying whether the limit and missing replies are a usage issue or a defect, with reproducible evidence.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
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.