← 返回
未分类 Key 中文

Yt Assemblyai Monitor

YouTube channel monitor and video transcription using AssemblyAI cloud API. Pure Python + requests only — no ffmpeg, no Whisper, no extra tools needed. Monit...
YouTube channel monitor and video transcription using AssemblyAI cloud API. Pure Python + requests only — no ffmpeg, no Whisper, no extra tools needed. Monit...
azazlf09 azazlf09 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 342
下载
💾 0
安装
1
版本
#assemblyai#latest#monitor#transcription#video#youtube

概述

YouTube Channel Monitor (AssemblyAI)

Monitor YouTube channels and auto-transcribe new videos using AssemblyAI cloud API. Zero local dependencies beyond requests.

Prerequisites

  1. AssemblyAI account: https://www.assemblyai.com/app/signup (free, 100 hours/month)
  2. API Key: from Dashboard
  3. requests library (usually pre-installed with OpenClaw/Python)

Setup API Key

Choose one:

# Option A: environment variable
export ASSEMBLYAI_API_KEY="your-key"

# Option B: config file
echo '{"api_key": "your-key"}' > data/config.json

How It Works

Channel page → innertube API → audio direct URL → AssemblyAI cloud → text + summary

No local audio download, no Whisper, no ffmpeg. AssemblyAI handles everything server-side.

Commands

# Transcribe a single video
python3 scripts/monitor.py now "https://www.youtube.com/watch?v=VIDEO_ID"

# Add a channel to monitor
python3 scripts/monitor.py add "https://www.youtube.com/@ChannelName/videos" "Alias"

# Check all channels for new videos + transcribe
python3 scripts/monitor.py check [count_per_channel]

# List channels
python3 scripts/monitor.py list

# Remove channel
python3 scripts/monitor.py remove "Alias"

Important Notes

  • Audio URL extraction uses YouTube's innertube API (pure requests).
  • Works on normal residential IPs. Datacenter IPs may get blocked by YouTube.
  • If audio URL extraction fails with UNPLAYABLE, the IP may be flagged — this is a YouTube limitation, not a bug.
  • Free tier: 100 hours/month of transcription.
  • Transcription takes ~70-80% of video duration.
  • Results saved to data/summaries/{video_id}.json.

Output Format

Each result includes:

  • text: full transcription
  • summary: AI-generated paragraph summary
  • confidence: transcription confidence score
  • utterances: timestamped segments with speaker labels

Files

PathPurpose
---------------
data/channels.jsonmonitored channels
data/processed.jsonalready-transcribed video IDs
data/summaries/*.jsontranscription results
data/config.jsonAPI key (optional)

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-03 09:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 141,794
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 211 📥 69,790
data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 274 📥 100,797