NanmiCoder / NanmiCoder/MediaCrawler

增加了youtube, 并集成到了AI browser assistant

Open
#733 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

参考MediaCrawler, 实现了Youtube的视频搜索、视频评论获取和频道信息获取, 并集成到了我写的browser assistant.
免费开源,可以试一下:https://github.com/vibesurf-ai/VibeSurf/releases/edit/0.1.28

🗣️ How to Use:

Here are a few examples to get you started:

  • 🔍 Search for videos on YouTube about "Sora2":
    `/youtube search Sora2

  • 📝 Find recommend content on Xiaohongshu :
    /xhs 获取今日推荐

  • 🔥 Get the trending posts on Weibo:
    /weibo 获取今日热榜

  • 🎬 Fetch the latest videos from a specific Douyin user (by username):
    /douyin 搜索deepseek and /douyin 获取第一个视频的前20条评论

This intuitive interaction model makes exploring vast amounts of social media data as simple as asking a question.

✨ New Platform Skills & Capabilities:

Each integrated skill offers a comprehensive suite of functions, designed for diverse data access needs.

🔴 /weibo (Weibo)
  • Search Posts: Find posts by keywords.
  • Post Details & Comments: Retrieve full post content and all associated comments.
  • User Information & Content: Access user profiles and all posts by a specific user.
  • Real-time Trends: Get the latest Hot Posts (推荐榜) and Trending Posts (热搜榜).
    • Examples methods: search_posts_by_keyword, get_post_detail, get_all_post_comments, get_user_info, get_all_user_posts, get_hot_posts, get_trending_posts
📕 /xhs (Xiaohongshu)
  • Content Search: Discover content by keyword.
  • Content Details & Comments: Access detailed note information and all comments.
  • User Profiles & Content: Fetch user profiles and all content published by a user.
  • Homepage Recommendations: Explore the platform's recommended content.
    • Examples methods: search_content_by_keyword, fetch_content_details, fetch_all_content_comments, get_user_profile, fetch_all_user_content, get_home_recommendations
🎵 /douyin (Douyin)
  • Video Search: Find videos based on keywords.
  • Video Details & Comments: Get detailed video information and associated comments.
  • User Information & Videos: Access user profiles and all videos uploaded by a user.
    • Examples methods: search_content_by_keyword, fetch_video_details, fetch_all_video_comments, fetch_user_info, fetch_all_user_videos
📺 /youtube (YouTube)
  • Video Search: Comprehensive video search by query.
  • Video Details & Comments: Retrieve video details and all comments.
  • Channel Information & Content: Get channel details and a list of its videos.
  • Trending Videos: See what's currently popular on YouTube.
    • Examples methods: search_videos, get_video_details, get_video_comments, get_channel_info, get_channel_videos, get_trending_videos

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 reviewing the existing crawler integrations in MediaCrawler and the issue's reference to MediaCrawler. The requested work covers YouTube video search, video details and comments, channel information and videos, and trending videos; it is done when these capabilities are integrated and usable through the described YouTube commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.