Skip to content
Back to skills

Wenmai Alpha Youtube Comments Scraper

ASecurity

YouTube 评论采集接口,用于获取指定视频的评论、回复及接口支持的互动元数据,为受众反馈和 VOC 分析提供原始数据。当用户提到 YouTube 评论、视频反馈、观众观点、评论舆情、用户痛点或 YouTube comments scraper 时触发此技能。只要用户希望从 YouTube 评论中提炼真实受众声音,也应触发此技能。

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
documentationpythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add wenmai-ai/wenmai-skills --skill wenmai-alpha-youtube-comments-scraper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wenmai Alpha Youtube Comments Scraper?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wenmai Alpha Youtube Comments Scraper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenmai-ai-wenmai-alpha-youtube-comments-scraper/badge)](https://www.skillsdirectory.com/skills/wenmai-ai-wenmai-alpha-youtube-comments-scraper)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wenmai-alpha-youtube-comments-scraper
description: "YouTube 评论采集接口,用于获取指定视频的评论、回复及接口支持的互动元数据,为受众反馈和 VOC 分析提供原始数据。当用户提到 YouTube 评论、视频反馈、观众观点、评论舆情、用户痛点或 YouTube comments scraper 时触发此技能。只要用户希望从 YouTube 评论中提炼真实受众声音,也应触发此技能。"
metadata:
  author: wenmai-ai
  version: "1.0.0"
---

# Wenmai Alpha Youtube Comments Scraper

## Purpose
Use this Skill to fetch Youtube Comments Scraper data through Wenmai standard API. It is useful for YouTube 视频、频道、搜索或评论.

The Skill calls exactly one fixed standard API endpoint:

- Endpoint: `POST /wmapi/v1/alpha/youtube-comments-scraper`
- Auth: Header `secret-key: $WENMAI_API_KEY`
- Script: `scripts/alpha_youtube_comments_scraper.py`

## How To Run

请参考 https://skill.wenmai-ai.com/wenmaiskills/use_guide.html 获取 `secret-key`;额度或余额不足时,按该指南完成充值。运行脚本前,把复制的 key 导出为 `WENMAI_API_KEY`(或 `WENMAI_SECRET_KEY`)。

```bash
export WENMAI_API_KEY=sk-...
python3 scripts/alpha_youtube_comments_scraper.py '{"startUrls": [{"url": "https://www.youtube.com/watch?v=xObhZ0Ga7EQ"}], "maxComments": 3, "sortCommentsBy": "NEWEST_FIRST", "oldestCommentDate": "2026-03-01"}'
```

The script prints the raw Wenmai API response as formatted JSON. Read `references/api.md` when you need parameter details, field meanings, allowed values, defaults, request examples, or response fields.

## Parameter Rules

Required top-level fields: `startUrls`.

Default assumptions: preserve the user's requested marketplace, country, language, URL list, keyword list, IDs, filters, pagination, and result limits. For scraper-style endpoints, avoid expanding result limits unless the user asks for a broader scrape.

## Response Rules

Present returned data in compact tables when the user asks for inspection or comparison. For long arrays, summarize the most decision-relevant rows first, then offer to continue with more rows. Keep raw numbers and source URLs traceable to response fields.

If the API response contains an `error` or a non-`OK` `code`, report the message and `requestId` if present, then suggest parameter corrections. Never invent missing data.

Files in this skill

  • SKILL.md2.3 KB
  • agents/openai.yaml309 B
  • references/api.md4 KB
  • scripts/_wenmai_api.py3.9 KB
  • scripts/alpha_youtube_comments_scraper.py487 B
  • skill-card.md561 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…