YouTube Discord Bot
Discord Bot that automatically crawls the latest videos and live streams from YouTube channels and pushes them to specified channels.

Project Overview
An automated Discord bot dedicated to crawling the latest videos and live content from YouTube channels and pushing them to specified Discord channels. Supports automated scheduling (checks every hour/half-hour) and manual triggers, with complete channel management to avoid duplicate pushes.
Technical Challenges & Solutions
YouTube Crawler Implementation
Needed to stably crawl YouTube channel content and handle anti-crawling mechanisms.
Duplicate Content Avoidance
Tracking pushed videos to avoid notifying users repeatedly.
Scheduled Task Management
Ensuring the bot executes scheduled checks regardless of service restarts.
Architecture

Developed with Node.js + Discord.js, supporting both Fetch API and Puppeteer crawling modes. Managed by PM2 for stability and scheduled tasks.
Learnings
I deeply learned Discord bot development, web crawling techniques, and automated task design. Gained valuable experience in handling anti-crawling mechanisms and ensuring service stability.