Skills Plugins MCP Prompt Model 博客 我的中心
Lifestyle & Tools #data #excel #ai

mediacrawler

Multi-platform social media data crawling tool (Xiaohongshu, Douyin, Kuaishou, Bilibili, Weibo). Use when you need to search for posts, extract details, or scrape comments from supported platforms. Supports managing authentication (Cookies, QR codes) and saving data in JSON, CSV, or Excel formats.

DeepseekModel Curated skill Quality Good · 48 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=docevilock-agent-skills-hook-agents-skills-mediacrawler-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name mediacrawler description Multi-platform social media data crawling tool (Xiaohongshu, Douyin, Kuaishou, Bilibili, Weibo). Use when you need to search for posts, extract details, or scrape comments from supported platforms. Supports managing authentication (Cookies, QR codes) and saving data in JSON, CSV, or Excel formats. MediaCrawler - 多平台媒体数据爬虫 这是一个内置完整功能的媒体爬虫工具,包含完整的MediaCrawler代码库,可独立运行。 快速开始 1. 安装依赖 cd /home/yang/.qoder/skills/mediacrawler uv sync uv run playwright install 或使用传统pip: pip install -r requirements.txt playwright install 2. 执行搜索爬取 # 使用uv运行 cd /home/yang/.qoder/skills/mediacrawler uv run python scripts/run_crawl.py --platform xhs --keywords "手机评测" --login-type cookie --cookies "your_cookies" # 或直接运行 python3 scripts/run_crawl.py --platform xhs --keywords "手机评测" --login-type cookie --cookies "your_cookies" 支持的平台 ✅ 小红书 (xhs) : 笔记搜索、详情抓取、评论获取 ✅ 抖音 (dy) : 视频搜索、详情抓取、评论获取 ✅ 快手 (ks) : 视频搜索、详情抓取 ✅ B站 (bili) : 视频搜索、详情抓取、评论获取 ✅ 微博 (wb) : 微博搜索、详情抓取 使用示例 小红书搜索 # 基本搜索(使用cookie登录) python3 scripts/run_crawl.py --platform xhs --keywords "美食探店" --login-type cookie --cookies "your_cookies" # 多关键词搜索 python3 scripts/run_crawl.py --platform xhs --keywords "美食,旅行,摄影" --login-type cookie --cookies "your_cookies" # 二维码登录(需要有图形界面) python3 scripts/run_crawl.py --platform xhs --keywords "数码产品" --login-type qrcode # 无头模式运行(服务器环境) python3 scripts/run_crawl.py --platform xhs --keywords "摄影技巧" --login-type cookie --cookies "your_cookies" --headless 抖音搜索 python3 scripts/run_crawl.py --platform dy --keywords "美食教程" --login-type cookie --cookies "your_cookies" B站搜索 python3 scripts/run_crawl.py --platform bili --keywords "编程教程" --login-type cookie --cookies "your_cookies" 微博搜索 python3 scripts/run_crawl.py --platform wb --keywords "科技新闻" --login-type cookie --cookies "your_cookies" 参数说明 参数 说明 可选值 --platform 目标平台 xhs, dy, ks, bili, wb --keywords 搜索关键词 多个用逗号分隔 --login-type 登录方式 qrcode, cookie, phone --cookies Cookie字符串 用于cookie登录 --headless 无头模式 添加此参数启用 --max-notes 最大爬取数量 默认20 获取Cookie 小红书Cookie获取方法 浏览器打开 https://www.xiaohongshu.com 登录你的账号 按F12打开开发者工具 切换到"Network"标签 刷新页面 找到任意请求,在Headers中找到Cookie 复制完整的Cookie字符串 Cookie格式示例 gid=xxx; xsecappid=xxx; a1=xxx; webId=xxx; web_session=xxx; ... 数据保存 爬取的数据会自动保存在 data 目录下,支持多种格式: JSON格式(默认) CSV格式 Excel格式 数据库存储(SQLite/MySQL/PostgreSQL) 可在 config/base_config.py 中配置保存选项。 高级配置 如需更详细的配置(如代理、并发数、CDP模式等),请编辑: /home/yang/.qoder/skills/mediacrawler/config/base_config.py 资源目录 执行脚本位于 scripts/ 参考资料位于 references/ 示例素材位于 assets/ 注意事项 ⚠️ 重要提醒 : 本工具仅供学习研究使用 请遵守各平台的使用条款和robots.txt规则 合理控制请求频率,避免对平台造成负担 不得用于任何商业用途 使用Cookie登录时请保护好个人隐私信息 许可证 本项目遵循 NON-COMMERCIAL LEARNING LICENSE 1.1 许可协议。
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。