Auto-sync: 2026-04-18 16:02

This commit is contained in:
2026-04-18 16:02:38 +08:00
parent badd1215d7
commit e7e77ae92e
55 changed files with 3026 additions and 16 deletions

View File

@@ -0,0 +1,46 @@
---
title: "实战笔记:本地部署 RSSHub 并获取 YouTube 订阅"
type: source
tags: [RSSHub, YouTube, Docker, self-hosted]
date: 2026-04-17
---
## Source File
- [[raw/Home Office/实战笔记:本地部署 RSSHub 并获取 YouTube 订阅.md]]
## Summary
- 核心主题:本地部署 RSSHub 并通过 YouTube Data API 获取 YouTube 订阅
- 问题域:自托管 RSS 服务解决 YouTube 订阅问题
- 方法/机制:使用 Docker Compose 部署 RSSHub配置 YouTube Data API Key 和代理
- 结论/价值:绕过网页爬虫限制,稳定获取 YouTube 更新
## Key Claims
- **Docker Compose**Ubuntu Server 上部署 RSSHub 的推荐方式
- **YouTube Data API v3**:解决 YouTube 订阅最稳定的方案,每月有足够免费额度
- **YOUTUBE_KEY**:通过 Google Cloud Console 申请,用于 API 调用
- **PROXY_URL**:容器内科学上网,解决网络访问问题
- **UFW 防火墙**:需要开放 1200 端口才能局域网访问
## Key Concepts
- [[Docker]] — 容器化平台RSSHub 的部署环境
- [[YouTube Data API v3]] — Google 提供的 YouTube 数据接口
- [[Docker-Compose]] — 多容器 Docker 应用的定义和运行工具
## Key Entities
- **[[Docker]** — 容器化平台
- **[[YouTube]** — 视频平台
- **[[Google Cloud]]** — YouTube API Key 的申请来源
## Connections
- [[YouTube Data API v3]] ← 需要 ← [[YouTube Key]]
- [[RSSHub]] ← 部署在 ← [[Docker]]
- [[Docker]] ← 通过 ← [[Docker-Compose]] 管理
## Contradictions
-
## URL 转换格式
- 频道:`http://192.168.3.45:1200/youtube/channel/频道ID`
- 用户:`http://192.168.3.45:1200/youtube/user/用户名`