@tikomni/skills 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.skill-package-allowlist.txt +4 -0
- package/LICENSE +21 -0
- package/README.md +167 -0
- package/README.zh-CN.md +167 -0
- package/bin/tikomni-skills.js +127 -0
- package/env.example +160 -0
- package/lib/installer.js +176 -0
- package/package.json +44 -0
- package/skills/creator-analysis/SKILL.md +71 -0
- package/skills/creator-analysis/agents/openai.yaml +4 -0
- package/skills/creator-analysis/env.example +36 -0
- package/skills/creator-analysis/references/api-capability-index.md +92 -0
- package/skills/creator-analysis/references/api-contracts/asr-api.md +130 -0
- package/skills/creator-analysis/references/api-contracts/bilibili-app-api.md +776 -0
- package/skills/creator-analysis/references/api-contracts/bilibili-web-api.md +2017 -0
- package/skills/creator-analysis/references/api-contracts/demo-api.md +717 -0
- package/skills/creator-analysis/references/api-contracts/douyin-app-v3-api.md +3594 -0
- package/skills/creator-analysis/references/api-contracts/douyin-billboard-api.md +2274 -0
- package/skills/creator-analysis/references/api-contracts/douyin-creator-api.md +1575 -0
- package/skills/creator-analysis/references/api-contracts/douyin-creator-v2-api.md +3254 -0
- package/skills/creator-analysis/references/api-contracts/douyin-search-api.md +4118 -0
- package/skills/creator-analysis/references/api-contracts/douyin-web-api.md +5544 -0
- package/skills/creator-analysis/references/api-contracts/douyin-xingtu-api.md +1916 -0
- package/skills/creator-analysis/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
- package/skills/creator-analysis/references/api-contracts/health-check.md +69 -0
- package/skills/creator-analysis/references/api-contracts/hybrid-parsing.md +78 -0
- package/skills/creator-analysis/references/api-contracts/instagram-v1-api.md +2256 -0
- package/skills/creator-analysis/references/api-contracts/instagram-v2-api.md +2011 -0
- package/skills/creator-analysis/references/api-contracts/instagram-v3-api.md +2630 -0
- package/skills/creator-analysis/references/api-contracts/ios-shortcut.md +44 -0
- package/skills/creator-analysis/references/api-contracts/kuaishou-app-api.md +1518 -0
- package/skills/creator-analysis/references/api-contracts/kuaishou-web-api.md +1242 -0
- package/skills/creator-analysis/references/api-contracts/lemon8-app-api.md +1088 -0
- package/skills/creator-analysis/references/api-contracts/linkedin-web-api.md +1949 -0
- package/skills/creator-analysis/references/api-contracts/media-ingest-api.md +126 -0
- package/skills/creator-analysis/references/api-contracts/pipixia-app-api.md +1142 -0
- package/skills/creator-analysis/references/api-contracts/reddit-app-api.md +2025 -0
- package/skills/creator-analysis/references/api-contracts/sora2-api.md +2266 -0
- package/skills/creator-analysis/references/api-contracts/temp-mail-api.md +208 -0
- package/skills/creator-analysis/references/api-contracts/threads-web-api.md +897 -0
- package/skills/creator-analysis/references/api-contracts/tikhub-downloader-api.md +134 -0
- package/skills/creator-analysis/references/api-contracts/tikhub-user-api.md +494 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-ads-api.md +5947 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-analytics-api.md +968 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-app-v3-api.md +5735 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-creator-api.md +1951 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-interaction-api.md +742 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-shop-web-api.md +1890 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-web-api.md +4448 -0
- package/skills/creator-analysis/references/api-contracts/toutiao-app-api.md +342 -0
- package/skills/creator-analysis/references/api-contracts/toutiao-web-api.md +143 -0
- package/skills/creator-analysis/references/api-contracts/twitter-web-api.md +989 -0
- package/skills/creator-analysis/references/api-contracts/wechat-channels-api.md +809 -0
- package/skills/creator-analysis/references/api-contracts/wechat-media-platform-web-api.md +677 -0
- package/skills/creator-analysis/references/api-contracts/weibo-app-api.md +1547 -0
- package/skills/creator-analysis/references/api-contracts/weibo-web-api.md +798 -0
- package/skills/creator-analysis/references/api-contracts/weibo-web-v2-api.md +2459 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-app-api.md +1291 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-web-api.md +1324 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
- package/skills/creator-analysis/references/api-contracts/xigua-app-v2-api.md +489 -0
- package/skills/creator-analysis/references/api-contracts/youtube-web-api.md +2636 -0
- package/skills/creator-analysis/references/api-contracts/youtube-web-v2-api.md +2660 -0
- package/skills/creator-analysis/references/api-contracts/zhihu-web-api.md +2315 -0
- package/skills/creator-analysis/references/api-tags/asr-api.md +100 -0
- package/skills/creator-analysis/references/api-tags/bilibili-app-api.md +482 -0
- package/skills/creator-analysis/references/api-tags/bilibili-web-api.md +1267 -0
- package/skills/creator-analysis/references/api-tags/demo-api.md +365 -0
- package/skills/creator-analysis/references/api-tags/douyin-app-v3-api.md +2012 -0
- package/skills/creator-analysis/references/api-tags/douyin-billboard-api.md +1428 -0
- package/skills/creator-analysis/references/api-tags/douyin-creator-api.md +694 -0
- package/skills/creator-analysis/references/api-tags/douyin-creator-v2-api.md +694 -0
- package/skills/creator-analysis/references/api-tags/douyin-search-api.md +1059 -0
- package/skills/creator-analysis/references/api-tags/douyin-web-api.md +3314 -0
- package/skills/creator-analysis/references/api-tags/douyin-xingtu-api.md +935 -0
- package/skills/creator-analysis/references/api-tags/douyin-xingtu-v2-api.md +925 -0
- package/skills/creator-analysis/references/api-tags/health-check.md +40 -0
- package/skills/creator-analysis/references/api-tags/hybrid-parsing.md +57 -0
- package/skills/creator-analysis/references/api-tags/instagram-v1-api.md +1224 -0
- package/skills/creator-analysis/references/api-tags/instagram-v2-api.md +1147 -0
- package/skills/creator-analysis/references/api-tags/instagram-v3-api.md +1123 -0
- package/skills/creator-analysis/references/api-tags/ios-shortcut.md +45 -0
- package/skills/creator-analysis/references/api-tags/kuaishou-app-api.md +846 -0
- package/skills/creator-analysis/references/api-tags/kuaishou-web-api.md +551 -0
- package/skills/creator-analysis/references/api-tags/lemon8-app-api.md +687 -0
- package/skills/creator-analysis/references/api-tags/linkedin-web-api.md +1105 -0
- package/skills/creator-analysis/references/api-tags/media-ingest-api.md +112 -0
- package/skills/creator-analysis/references/api-tags/pipixia-app-api.md +721 -0
- package/skills/creator-analysis/references/api-tags/reddit-app-api.md +1057 -0
- package/skills/creator-analysis/references/api-tags/sora2-api.md +737 -0
- package/skills/creator-analysis/references/api-tags/temp-mail-api.md +136 -0
- package/skills/creator-analysis/references/api-tags/threads-web-api.md +472 -0
- package/skills/creator-analysis/references/api-tags/tikhub-downloader-api.md +65 -0
- package/skills/creator-analysis/references/api-tags/tikhub-user-api.md +253 -0
- package/skills/creator-analysis/references/api-tags/tiktok-ads-api.md +1393 -0
- package/skills/creator-analysis/references/api-tags/tiktok-analytics-api.md +179 -0
- package/skills/creator-analysis/references/api-tags/tiktok-app-v3-api.md +3264 -0
- package/skills/creator-analysis/references/api-tags/tiktok-creator-api.md +709 -0
- package/skills/creator-analysis/references/api-tags/tiktok-interaction-api.md +366 -0
- package/skills/creator-analysis/references/api-tags/tiktok-shop-web-api.md +663 -0
- package/skills/creator-analysis/references/api-tags/tiktok-web-api.md +2516 -0
- package/skills/creator-analysis/references/api-tags/toutiao-app-api.md +220 -0
- package/skills/creator-analysis/references/api-tags/toutiao-web-api.md +96 -0
- package/skills/creator-analysis/references/api-tags/twitter-web-api.md +562 -0
- package/skills/creator-analysis/references/api-tags/wechat-channels-api.md +405 -0
- package/skills/creator-analysis/references/api-tags/wechat-media-platform-web-api.md +431 -0
- package/skills/creator-analysis/references/api-tags/weibo-app-api.md +851 -0
- package/skills/creator-analysis/references/api-tags/weibo-web-api.md +470 -0
- package/skills/creator-analysis/references/api-tags/weibo-web-v2-api.md +1405 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-app-api.md +534 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-web-api.md +757 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
- package/skills/creator-analysis/references/api-tags/xigua-app-v2-api.md +308 -0
- package/skills/creator-analysis/references/api-tags/youtube-web-api.md +934 -0
- package/skills/creator-analysis/references/api-tags/youtube-web-v2-api.md +717 -0
- package/skills/creator-analysis/references/api-tags/zhihu-web-api.md +1384 -0
- package/skills/creator-analysis/references/asr-orchestration.md +33 -0
- package/skills/creator-analysis/references/config-templates/defaults.yaml +60 -0
- package/skills/creator-analysis/references/contracts/creator-card-fields.md +23 -0
- package/skills/creator-analysis/references/contracts/work-card-fields.md +32 -0
- package/skills/creator-analysis/references/platform-guides/douyin.md +49 -0
- package/skills/creator-analysis/references/platform-guides/generic.md +46 -0
- package/skills/creator-analysis/references/platform-guides/xiaohongshu.md +54 -0
- package/skills/creator-analysis/references/prompt-contracts/asr-clean.md +28 -0
- package/skills/creator-analysis/references/prompt-contracts/author-analysis-v2.md +46 -0
- package/skills/creator-analysis/references/prompt-contracts/author-analysis.md +49 -0
- package/skills/creator-analysis/references/prompt-contracts/cta.md +24 -0
- package/skills/creator-analysis/references/prompt-contracts/hook.md +25 -0
- package/skills/creator-analysis/references/prompt-contracts/insight.md +47 -0
- package/skills/creator-analysis/references/prompt-contracts/sampled-work-batch-explanations.md +30 -0
- package/skills/creator-analysis/references/prompt-contracts/structure.md +25 -0
- package/skills/creator-analysis/references/prompt-contracts/style.md +27 -0
- package/skills/creator-analysis/references/prompt-contracts/summary.md +29 -0
- package/skills/creator-analysis/references/prompt-contracts/topic.md +29 -0
- package/skills/creator-analysis/references/schemas/author-analysis-input-v1.schema.json +325 -0
- package/skills/creator-analysis/references/schemas/author-analysis-v2.schema.json +158 -0
- package/skills/creator-analysis/references/schemas/sampled-work-batch-explanations.schema.json +41 -0
- package/skills/creator-analysis/references/service-guides/asr-u2-u3-fallback.md +75 -0
- package/skills/creator-analysis/references/workflow.md +18 -0
- package/skills/creator-analysis/scripts/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/adapters/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/adapters/platform_adapters.py +299 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/author_analysis_v2_support.py +1122 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/prompt_first_analyzers.py +260 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/sampled_work_batch_explainer.py +260 -0
- package/skills/creator-analysis/scripts/author_home/asr/__init__.py +5 -0
- package/skills/creator-analysis/scripts/author_home/asr/home_asr.py +961 -0
- package/skills/creator-analysis/scripts/author_home/builders/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/builders/home_builders.py +149 -0
- package/skills/creator-analysis/scripts/author_home/collectors/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/collectors/homepage_collectors.py +636 -0
- package/skills/creator-analysis/scripts/author_home/orchestrator/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/orchestrator/run_author_analysis.py +491 -0
- package/skills/creator-analysis/scripts/author_home/orchestrator/work_analysis_artifacts.py +553 -0
- package/skills/creator-analysis/scripts/author_home/schema.py +417 -0
- package/skills/creator-analysis/scripts/core/__init__.py +0 -0
- package/skills/creator-analysis/scripts/core/analysis_pipeline.py +133 -0
- package/skills/creator-analysis/scripts/core/bootstrap_env.py +35 -0
- package/skills/creator-analysis/scripts/core/config_loader.py +418 -0
- package/skills/creator-analysis/scripts/core/extract_pipeline.py +173 -0
- package/skills/creator-analysis/scripts/core/progress_report.py +111 -0
- package/skills/creator-analysis/scripts/core/storage_router.py +253 -0
- package/skills/creator-analysis/scripts/core/tikomni_common.py +588 -0
- package/skills/creator-analysis/scripts/pipeline/__init__.py +0 -0
- package/skills/creator-analysis/scripts/pipeline/asr/__init__.py +0 -0
- package/skills/creator-analysis/scripts/pipeline/asr/asr_pipeline.py +1189 -0
- package/skills/creator-analysis/scripts/pipeline/asr/poll_u2_task.py +95 -0
- package/skills/creator-analysis/scripts/platform/__init__.py +0 -0
- package/skills/creator-analysis/scripts/platform/douyin/__init__.py +0 -0
- package/skills/creator-analysis/scripts/platform/douyin/douyin_video_type_matrix.py +224 -0
- package/skills/creator-analysis/scripts/platform/douyin/run_douyin_single_video.py +1208 -0
- package/skills/creator-analysis/scripts/platform/douyin/select_low_quality_video_url.py +200 -0
- package/skills/creator-analysis/scripts/platform/xiaohongshu/__init__.py +0 -0
- package/skills/creator-analysis/scripts/platform/xiaohongshu/run_xiaohongshu_extract.py +2128 -0
- package/skills/creator-analysis/scripts/writers/__init__.py +0 -0
- package/skills/creator-analysis/scripts/writers/write_author_homepage_samples.py +106 -0
- package/skills/creator-analysis/scripts/writers/write_benchmark_card.py +1402 -0
- package/skills/meta-capability/SKILL.md +69 -0
- package/skills/meta-capability/agents/openai.yaml +4 -0
- package/skills/meta-capability/env.example +42 -0
- package/skills/meta-capability/references/api-capability-index.md +92 -0
- package/skills/meta-capability/references/api-contracts/asr-api.md +130 -0
- package/skills/meta-capability/references/api-contracts/bilibili-app-api.md +776 -0
- package/skills/meta-capability/references/api-contracts/bilibili-web-api.md +2017 -0
- package/skills/meta-capability/references/api-contracts/demo-api.md +717 -0
- package/skills/meta-capability/references/api-contracts/douyin-app-v3-api.md +3594 -0
- package/skills/meta-capability/references/api-contracts/douyin-billboard-api.md +2274 -0
- package/skills/meta-capability/references/api-contracts/douyin-creator-api.md +1575 -0
- package/skills/meta-capability/references/api-contracts/douyin-creator-v2-api.md +3254 -0
- package/skills/meta-capability/references/api-contracts/douyin-search-api.md +4118 -0
- package/skills/meta-capability/references/api-contracts/douyin-web-api.md +5544 -0
- package/skills/meta-capability/references/api-contracts/douyin-xingtu-api.md +1916 -0
- package/skills/meta-capability/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
- package/skills/meta-capability/references/api-contracts/health-check.md +69 -0
- package/skills/meta-capability/references/api-contracts/hybrid-parsing.md +78 -0
- package/skills/meta-capability/references/api-contracts/instagram-v1-api.md +2256 -0
- package/skills/meta-capability/references/api-contracts/instagram-v2-api.md +2011 -0
- package/skills/meta-capability/references/api-contracts/instagram-v3-api.md +2630 -0
- package/skills/meta-capability/references/api-contracts/ios-shortcut.md +44 -0
- package/skills/meta-capability/references/api-contracts/kuaishou-app-api.md +1518 -0
- package/skills/meta-capability/references/api-contracts/kuaishou-web-api.md +1242 -0
- package/skills/meta-capability/references/api-contracts/lemon8-app-api.md +1088 -0
- package/skills/meta-capability/references/api-contracts/linkedin-web-api.md +1949 -0
- package/skills/meta-capability/references/api-contracts/media-ingest-api.md +126 -0
- package/skills/meta-capability/references/api-contracts/pipixia-app-api.md +1142 -0
- package/skills/meta-capability/references/api-contracts/reddit-app-api.md +2025 -0
- package/skills/meta-capability/references/api-contracts/sora2-api.md +2266 -0
- package/skills/meta-capability/references/api-contracts/temp-mail-api.md +208 -0
- package/skills/meta-capability/references/api-contracts/threads-web-api.md +897 -0
- package/skills/meta-capability/references/api-contracts/tikhub-downloader-api.md +134 -0
- package/skills/meta-capability/references/api-contracts/tikhub-user-api.md +494 -0
- package/skills/meta-capability/references/api-contracts/tiktok-ads-api.md +5947 -0
- package/skills/meta-capability/references/api-contracts/tiktok-analytics-api.md +968 -0
- package/skills/meta-capability/references/api-contracts/tiktok-app-v3-api.md +5735 -0
- package/skills/meta-capability/references/api-contracts/tiktok-creator-api.md +1951 -0
- package/skills/meta-capability/references/api-contracts/tiktok-interaction-api.md +742 -0
- package/skills/meta-capability/references/api-contracts/tiktok-shop-web-api.md +1890 -0
- package/skills/meta-capability/references/api-contracts/tiktok-web-api.md +4448 -0
- package/skills/meta-capability/references/api-contracts/toutiao-app-api.md +342 -0
- package/skills/meta-capability/references/api-contracts/toutiao-web-api.md +143 -0
- package/skills/meta-capability/references/api-contracts/twitter-web-api.md +989 -0
- package/skills/meta-capability/references/api-contracts/wechat-channels-api.md +809 -0
- package/skills/meta-capability/references/api-contracts/wechat-media-platform-web-api.md +677 -0
- package/skills/meta-capability/references/api-contracts/weibo-app-api.md +1547 -0
- package/skills/meta-capability/references/api-contracts/weibo-web-api.md +798 -0
- package/skills/meta-capability/references/api-contracts/weibo-web-v2-api.md +2459 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-app-api.md +1291 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-web-api.md +1324 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
- package/skills/meta-capability/references/api-contracts/xigua-app-v2-api.md +489 -0
- package/skills/meta-capability/references/api-contracts/youtube-web-api.md +2636 -0
- package/skills/meta-capability/references/api-contracts/youtube-web-v2-api.md +2660 -0
- package/skills/meta-capability/references/api-contracts/zhihu-web-api.md +2315 -0
- package/skills/meta-capability/references/api-tags/asr-api.md +100 -0
- package/skills/meta-capability/references/api-tags/bilibili-app-api.md +482 -0
- package/skills/meta-capability/references/api-tags/bilibili-web-api.md +1267 -0
- package/skills/meta-capability/references/api-tags/demo-api.md +365 -0
- package/skills/meta-capability/references/api-tags/douyin-app-v3-api.md +2012 -0
- package/skills/meta-capability/references/api-tags/douyin-billboard-api.md +1428 -0
- package/skills/meta-capability/references/api-tags/douyin-creator-api.md +694 -0
- package/skills/meta-capability/references/api-tags/douyin-creator-v2-api.md +694 -0
- package/skills/meta-capability/references/api-tags/douyin-search-api.md +1059 -0
- package/skills/meta-capability/references/api-tags/douyin-web-api.md +3314 -0
- package/skills/meta-capability/references/api-tags/douyin-xingtu-api.md +935 -0
- package/skills/meta-capability/references/api-tags/douyin-xingtu-v2-api.md +925 -0
- package/skills/meta-capability/references/api-tags/health-check.md +40 -0
- package/skills/meta-capability/references/api-tags/hybrid-parsing.md +57 -0
- package/skills/meta-capability/references/api-tags/instagram-v1-api.md +1224 -0
- package/skills/meta-capability/references/api-tags/instagram-v2-api.md +1147 -0
- package/skills/meta-capability/references/api-tags/instagram-v3-api.md +1123 -0
- package/skills/meta-capability/references/api-tags/ios-shortcut.md +45 -0
- package/skills/meta-capability/references/api-tags/kuaishou-app-api.md +846 -0
- package/skills/meta-capability/references/api-tags/kuaishou-web-api.md +551 -0
- package/skills/meta-capability/references/api-tags/lemon8-app-api.md +687 -0
- package/skills/meta-capability/references/api-tags/linkedin-web-api.md +1105 -0
- package/skills/meta-capability/references/api-tags/media-ingest-api.md +112 -0
- package/skills/meta-capability/references/api-tags/pipixia-app-api.md +721 -0
- package/skills/meta-capability/references/api-tags/reddit-app-api.md +1057 -0
- package/skills/meta-capability/references/api-tags/sora2-api.md +737 -0
- package/skills/meta-capability/references/api-tags/temp-mail-api.md +136 -0
- package/skills/meta-capability/references/api-tags/threads-web-api.md +472 -0
- package/skills/meta-capability/references/api-tags/tikhub-downloader-api.md +65 -0
- package/skills/meta-capability/references/api-tags/tikhub-user-api.md +253 -0
- package/skills/meta-capability/references/api-tags/tiktok-ads-api.md +1393 -0
- package/skills/meta-capability/references/api-tags/tiktok-analytics-api.md +179 -0
- package/skills/meta-capability/references/api-tags/tiktok-app-v3-api.md +3264 -0
- package/skills/meta-capability/references/api-tags/tiktok-creator-api.md +709 -0
- package/skills/meta-capability/references/api-tags/tiktok-interaction-api.md +366 -0
- package/skills/meta-capability/references/api-tags/tiktok-shop-web-api.md +663 -0
- package/skills/meta-capability/references/api-tags/tiktok-web-api.md +2516 -0
- package/skills/meta-capability/references/api-tags/toutiao-app-api.md +220 -0
- package/skills/meta-capability/references/api-tags/toutiao-web-api.md +96 -0
- package/skills/meta-capability/references/api-tags/twitter-web-api.md +562 -0
- package/skills/meta-capability/references/api-tags/wechat-channels-api.md +405 -0
- package/skills/meta-capability/references/api-tags/wechat-media-platform-web-api.md +431 -0
- package/skills/meta-capability/references/api-tags/weibo-app-api.md +851 -0
- package/skills/meta-capability/references/api-tags/weibo-web-api.md +470 -0
- package/skills/meta-capability/references/api-tags/weibo-web-v2-api.md +1405 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-app-api.md +534 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-web-api.md +757 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
- package/skills/meta-capability/references/api-tags/xigua-app-v2-api.md +308 -0
- package/skills/meta-capability/references/api-tags/youtube-web-api.md +934 -0
- package/skills/meta-capability/references/api-tags/youtube-web-v2-api.md +717 -0
- package/skills/meta-capability/references/api-tags/zhihu-web-api.md +1384 -0
- package/skills/meta-capability/references/config-templates/defaults.yaml +18 -0
- package/skills/meta-capability/references/dispatch.md +27 -0
- package/skills/meta-capability/references/execution-guidelines.md +25 -0
- package/skills/meta-capability/references/implemented-route-map.md +177 -0
- package/skills/meta-capability/references/service-guides/asr-u2-u3-fallback.md +75 -0
- package/skills/meta-capability/scripts/__init__.py +1 -0
- package/skills/meta-capability/scripts/call_route.py +141 -0
- package/skills/meta-capability/scripts/core/__init__.py +1 -0
- package/skills/meta-capability/scripts/core/bootstrap_env.py +32 -0
- package/skills/meta-capability/scripts/core/config_loader.py +204 -0
- package/skills/meta-capability/scripts/core/tikomni_common.py +443 -0
- package/skills/meta-capability/scripts/test_auth.py +98 -0
- package/skills/single-work-analysis/SKILL.md +62 -0
- package/skills/single-work-analysis/agents/openai.yaml +4 -0
- package/skills/single-work-analysis/env.example +36 -0
- package/skills/single-work-analysis/references/api-capability-index.md +92 -0
- package/skills/single-work-analysis/references/api-contracts/asr-api.md +130 -0
- package/skills/single-work-analysis/references/api-contracts/bilibili-app-api.md +776 -0
- package/skills/single-work-analysis/references/api-contracts/bilibili-web-api.md +2017 -0
- package/skills/single-work-analysis/references/api-contracts/demo-api.md +717 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-app-v3-api.md +3594 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-billboard-api.md +2274 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-creator-api.md +1575 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-creator-v2-api.md +3254 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-search-api.md +4118 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-web-api.md +5544 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-xingtu-api.md +1916 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
- package/skills/single-work-analysis/references/api-contracts/health-check.md +69 -0
- package/skills/single-work-analysis/references/api-contracts/hybrid-parsing.md +78 -0
- package/skills/single-work-analysis/references/api-contracts/instagram-v1-api.md +2256 -0
- package/skills/single-work-analysis/references/api-contracts/instagram-v2-api.md +2011 -0
- package/skills/single-work-analysis/references/api-contracts/instagram-v3-api.md +2630 -0
- package/skills/single-work-analysis/references/api-contracts/ios-shortcut.md +44 -0
- package/skills/single-work-analysis/references/api-contracts/kuaishou-app-api.md +1518 -0
- package/skills/single-work-analysis/references/api-contracts/kuaishou-web-api.md +1242 -0
- package/skills/single-work-analysis/references/api-contracts/lemon8-app-api.md +1088 -0
- package/skills/single-work-analysis/references/api-contracts/linkedin-web-api.md +1949 -0
- package/skills/single-work-analysis/references/api-contracts/media-ingest-api.md +126 -0
- package/skills/single-work-analysis/references/api-contracts/pipixia-app-api.md +1142 -0
- package/skills/single-work-analysis/references/api-contracts/reddit-app-api.md +2025 -0
- package/skills/single-work-analysis/references/api-contracts/sora2-api.md +2266 -0
- package/skills/single-work-analysis/references/api-contracts/temp-mail-api.md +208 -0
- package/skills/single-work-analysis/references/api-contracts/threads-web-api.md +897 -0
- package/skills/single-work-analysis/references/api-contracts/tikhub-downloader-api.md +134 -0
- package/skills/single-work-analysis/references/api-contracts/tikhub-user-api.md +494 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-ads-api.md +5947 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-analytics-api.md +968 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-app-v3-api.md +5735 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-creator-api.md +1951 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-interaction-api.md +742 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-shop-web-api.md +1890 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-web-api.md +4448 -0
- package/skills/single-work-analysis/references/api-contracts/toutiao-app-api.md +342 -0
- package/skills/single-work-analysis/references/api-contracts/toutiao-web-api.md +143 -0
- package/skills/single-work-analysis/references/api-contracts/twitter-web-api.md +989 -0
- package/skills/single-work-analysis/references/api-contracts/wechat-channels-api.md +809 -0
- package/skills/single-work-analysis/references/api-contracts/wechat-media-platform-web-api.md +677 -0
- package/skills/single-work-analysis/references/api-contracts/weibo-app-api.md +1547 -0
- package/skills/single-work-analysis/references/api-contracts/weibo-web-api.md +798 -0
- package/skills/single-work-analysis/references/api-contracts/weibo-web-v2-api.md +2459 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-app-api.md +1291 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-web-api.md +1324 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
- package/skills/single-work-analysis/references/api-contracts/xigua-app-v2-api.md +489 -0
- package/skills/single-work-analysis/references/api-contracts/youtube-web-api.md +2636 -0
- package/skills/single-work-analysis/references/api-contracts/youtube-web-v2-api.md +2660 -0
- package/skills/single-work-analysis/references/api-contracts/zhihu-web-api.md +2315 -0
- package/skills/single-work-analysis/references/api-tags/asr-api.md +100 -0
- package/skills/single-work-analysis/references/api-tags/bilibili-app-api.md +482 -0
- package/skills/single-work-analysis/references/api-tags/bilibili-web-api.md +1267 -0
- package/skills/single-work-analysis/references/api-tags/demo-api.md +365 -0
- package/skills/single-work-analysis/references/api-tags/douyin-app-v3-api.md +2012 -0
- package/skills/single-work-analysis/references/api-tags/douyin-billboard-api.md +1428 -0
- package/skills/single-work-analysis/references/api-tags/douyin-creator-api.md +694 -0
- package/skills/single-work-analysis/references/api-tags/douyin-creator-v2-api.md +694 -0
- package/skills/single-work-analysis/references/api-tags/douyin-search-api.md +1059 -0
- package/skills/single-work-analysis/references/api-tags/douyin-web-api.md +3314 -0
- package/skills/single-work-analysis/references/api-tags/douyin-xingtu-api.md +935 -0
- package/skills/single-work-analysis/references/api-tags/douyin-xingtu-v2-api.md +925 -0
- package/skills/single-work-analysis/references/api-tags/health-check.md +40 -0
- package/skills/single-work-analysis/references/api-tags/hybrid-parsing.md +57 -0
- package/skills/single-work-analysis/references/api-tags/instagram-v1-api.md +1224 -0
- package/skills/single-work-analysis/references/api-tags/instagram-v2-api.md +1147 -0
- package/skills/single-work-analysis/references/api-tags/instagram-v3-api.md +1123 -0
- package/skills/single-work-analysis/references/api-tags/ios-shortcut.md +45 -0
- package/skills/single-work-analysis/references/api-tags/kuaishou-app-api.md +846 -0
- package/skills/single-work-analysis/references/api-tags/kuaishou-web-api.md +551 -0
- package/skills/single-work-analysis/references/api-tags/lemon8-app-api.md +687 -0
- package/skills/single-work-analysis/references/api-tags/linkedin-web-api.md +1105 -0
- package/skills/single-work-analysis/references/api-tags/media-ingest-api.md +112 -0
- package/skills/single-work-analysis/references/api-tags/pipixia-app-api.md +721 -0
- package/skills/single-work-analysis/references/api-tags/reddit-app-api.md +1057 -0
- package/skills/single-work-analysis/references/api-tags/sora2-api.md +737 -0
- package/skills/single-work-analysis/references/api-tags/temp-mail-api.md +136 -0
- package/skills/single-work-analysis/references/api-tags/threads-web-api.md +472 -0
- package/skills/single-work-analysis/references/api-tags/tikhub-downloader-api.md +65 -0
- package/skills/single-work-analysis/references/api-tags/tikhub-user-api.md +253 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-ads-api.md +1393 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-analytics-api.md +179 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-app-v3-api.md +3264 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-creator-api.md +709 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-interaction-api.md +366 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-shop-web-api.md +663 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-web-api.md +2516 -0
- package/skills/single-work-analysis/references/api-tags/toutiao-app-api.md +220 -0
- package/skills/single-work-analysis/references/api-tags/toutiao-web-api.md +96 -0
- package/skills/single-work-analysis/references/api-tags/twitter-web-api.md +562 -0
- package/skills/single-work-analysis/references/api-tags/wechat-channels-api.md +405 -0
- package/skills/single-work-analysis/references/api-tags/wechat-media-platform-web-api.md +431 -0
- package/skills/single-work-analysis/references/api-tags/weibo-app-api.md +851 -0
- package/skills/single-work-analysis/references/api-tags/weibo-web-api.md +470 -0
- package/skills/single-work-analysis/references/api-tags/weibo-web-v2-api.md +1405 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-app-api.md +534 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-web-api.md +757 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
- package/skills/single-work-analysis/references/api-tags/xigua-app-v2-api.md +308 -0
- package/skills/single-work-analysis/references/api-tags/youtube-web-api.md +934 -0
- package/skills/single-work-analysis/references/api-tags/youtube-web-v2-api.md +717 -0
- package/skills/single-work-analysis/references/api-tags/zhihu-web-api.md +1384 -0
- package/skills/single-work-analysis/references/asr-and-fallback.md +20 -0
- package/skills/single-work-analysis/references/config-templates/defaults.yaml +58 -0
- package/skills/single-work-analysis/references/contracts/work-card-fields.md +41 -0
- package/skills/single-work-analysis/references/platform-guides/douyin.md +47 -0
- package/skills/single-work-analysis/references/platform-guides/generic.md +43 -0
- package/skills/single-work-analysis/references/platform-guides/xiaohongshu.md +54 -0
- package/skills/single-work-analysis/references/prompt-contracts/asr-clean.md +28 -0
- package/skills/single-work-analysis/references/prompt-contracts/cta.md +24 -0
- package/skills/single-work-analysis/references/prompt-contracts/hook.md +25 -0
- package/skills/single-work-analysis/references/prompt-contracts/insight.md +47 -0
- package/skills/single-work-analysis/references/prompt-contracts/structure.md +25 -0
- package/skills/single-work-analysis/references/prompt-contracts/style.md +27 -0
- package/skills/single-work-analysis/references/prompt-contracts/summary.md +29 -0
- package/skills/single-work-analysis/references/prompt-contracts/topic.md +29 -0
- package/skills/single-work-analysis/references/schemas/work-card.schema.json +39 -0
- package/skills/single-work-analysis/references/service-guides/asr-u2-u3-fallback.md +75 -0
- package/skills/single-work-analysis/scripts/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/core/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/core/analysis_pipeline.py +133 -0
- package/skills/single-work-analysis/scripts/core/bootstrap_env.py +35 -0
- package/skills/single-work-analysis/scripts/core/config_loader.py +418 -0
- package/skills/single-work-analysis/scripts/core/extract_pipeline.py +173 -0
- package/skills/single-work-analysis/scripts/core/progress_report.py +111 -0
- package/skills/single-work-analysis/scripts/core/storage_router.py +253 -0
- package/skills/single-work-analysis/scripts/core/tikomni_common.py +588 -0
- package/skills/single-work-analysis/scripts/pipeline/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/pipeline/asr/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/pipeline/asr/asr_pipeline.py +1189 -0
- package/skills/single-work-analysis/scripts/pipeline/asr/poll_u2_task.py +95 -0
- package/skills/single-work-analysis/scripts/platform/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/platform/douyin/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/platform/douyin/douyin_video_type_matrix.py +224 -0
- package/skills/single-work-analysis/scripts/platform/douyin/run_douyin_single_video.py +1233 -0
- package/skills/single-work-analysis/scripts/platform/douyin/select_low_quality_video_url.py +200 -0
- package/skills/single-work-analysis/scripts/platform/xiaohongshu/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/platform/xiaohongshu/run_xiaohongshu_extract.py +2156 -0
- package/skills/single-work-analysis/scripts/writers/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/writers/write_benchmark_card.py +1402 -0
|
@@ -0,0 +1,934 @@
|
|
|
1
|
+
# YouTube-Web-API Route Summary
|
|
2
|
+
|
|
3
|
+
- Back to index: [`api-capability-index.md`](../api-capability-index.md)
|
|
4
|
+
- Current tag file: `api-tags/youtube-web-api.md`
|
|
5
|
+
- Full contract: [`api-contracts/youtube-web-api.md`](../api-contracts/youtube-web-api.md)
|
|
6
|
+
- Source: `https://app.tikomni.com/openapi/tikomni-openapi.full.with-u2.public.latest.json`
|
|
7
|
+
- Fetched at: `2026-03-08T06:54:04+00:00`
|
|
8
|
+
- Route count: `21`
|
|
9
|
+
- Common capabilities: content details / profiles / accounts / search / comments / trends / rankings / subtitles / transcription
|
|
10
|
+
- Default auth: Header `Authorization` Bearer
|
|
11
|
+
- Common inputs: `continuation_token`, `language_code`, `country_code`, `channel_id`, `video_id`, `need_format`, `search_query`, `sort_by`, `lang`, `time_zone`
|
|
12
|
+
- Tag description: **(YouTube Web数据接口/YouTube-Web-API endpoints)**
|
|
13
|
+
|
|
14
|
+
## Routes
|
|
15
|
+
|
|
16
|
+
### `GET /api/u1/v1/youtube/web/get_channel_description`
|
|
17
|
+
|
|
18
|
+
- Summary: 获取频道描述信息/Get channel description
|
|
19
|
+
- Capabilities: profiles / accounts
|
|
20
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
21
|
+
- operationId: `get_channel_description_api_v1_youtube_web_get_channel_description_get`
|
|
22
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-description`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-description)
|
|
23
|
+
|
|
24
|
+
#### Parameters
|
|
25
|
+
|
|
26
|
+
| Field | In | Type | Required | Description |
|
|
27
|
+
| --- | --- | --- | --- | --- |
|
|
28
|
+
| channel_id | query | string | No | 频道ID(格式如:UCeu6U67OzJhV1KwBansH3Dg),可通过get_channel_id_v2接口从频道URL获取/Channel ID, can be obtained from channel URL via get_… |
|
|
29
|
+
| continuation_token | query | string | No | 翻页标志(用于获取频道注册时间等高级信息)/Continuation token for getting advanced info like channel creation date |
|
|
30
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
31
|
+
| country_code | query | string | No | 国家代码(如US, JP等)/Country code |
|
|
32
|
+
| need_format | query | boolean | No | 是否需要清洗数据,提取关键内容,移除冗余数据/Whether to clean and format the data |
|
|
33
|
+
|
|
34
|
+
#### Request Body
|
|
35
|
+
|
|
36
|
+
None
|
|
37
|
+
|
|
38
|
+
#### Success Response
|
|
39
|
+
|
|
40
|
+
##### `200 application/json`
|
|
41
|
+
|
|
42
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
43
|
+
|
|
44
|
+
| Field | Type | Required | Description |
|
|
45
|
+
| --- | --- | --- | --- |
|
|
46
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
47
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
48
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
49
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
50
|
+
| support | string | No | Support message \| 支持消息 |
|
|
51
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
52
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
53
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
54
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
55
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
56
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
57
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
58
|
+
|
|
59
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
60
|
+
|
|
61
|
+
### `GET /api/u1/v1/youtube/web/get_channel_id`
|
|
62
|
+
|
|
63
|
+
- Summary: 获取频道ID/Get channel ID
|
|
64
|
+
- Capabilities: profiles / accounts
|
|
65
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
66
|
+
- operationId: `get_channel_id_api_v1_youtube_web_get_channel_id_get`
|
|
67
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-id`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-id)
|
|
68
|
+
|
|
69
|
+
#### Parameters
|
|
70
|
+
|
|
71
|
+
| Field | In | Type | Required | Description |
|
|
72
|
+
| --- | --- | --- | --- | --- |
|
|
73
|
+
| channel_name | query | string | Yes | 频道名称/Channel name |
|
|
74
|
+
|
|
75
|
+
#### Request Body
|
|
76
|
+
|
|
77
|
+
None
|
|
78
|
+
|
|
79
|
+
#### Success Response
|
|
80
|
+
|
|
81
|
+
##### `200 application/json`
|
|
82
|
+
|
|
83
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
84
|
+
|
|
85
|
+
| Field | Type | Required | Description |
|
|
86
|
+
| --- | --- | --- | --- |
|
|
87
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
88
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
89
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
90
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
91
|
+
| support | string | No | Support message \| 支持消息 |
|
|
92
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
93
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
94
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
95
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
96
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
97
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
98
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
99
|
+
|
|
100
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
101
|
+
|
|
102
|
+
### `GET /api/u1/v1/youtube/web/get_channel_id_v2`
|
|
103
|
+
|
|
104
|
+
- Summary: 从频道URL获取频道ID V2/Get channel ID from URL V2
|
|
105
|
+
- Capabilities: profiles / accounts
|
|
106
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
107
|
+
- operationId: `get_channel_id_v2_api_v1_youtube_web_get_channel_id_v2_get`
|
|
108
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-id-v2`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-id-v2)
|
|
109
|
+
|
|
110
|
+
#### Parameters
|
|
111
|
+
|
|
112
|
+
| Field | In | Type | Required | Description |
|
|
113
|
+
| --- | --- | --- | --- | --- |
|
|
114
|
+
| channel_url | query | string | Yes | 频道URL/Channel URL,支持多种格式如:https://www.youtube.com/@username, https://www.youtube.com/channel/UCxxxxxx, https://www.yout… |
|
|
115
|
+
|
|
116
|
+
#### Request Body
|
|
117
|
+
|
|
118
|
+
None
|
|
119
|
+
|
|
120
|
+
#### Success Response
|
|
121
|
+
|
|
122
|
+
##### `200 application/json`
|
|
123
|
+
|
|
124
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
125
|
+
|
|
126
|
+
| Field | Type | Required | Description |
|
|
127
|
+
| --- | --- | --- | --- |
|
|
128
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
129
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
130
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
131
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
132
|
+
| support | string | No | Support message \| 支持消息 |
|
|
133
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
134
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
135
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
136
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
137
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
138
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
139
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
140
|
+
|
|
141
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
142
|
+
|
|
143
|
+
### `GET /api/u1/v1/youtube/web/get_channel_info`
|
|
144
|
+
|
|
145
|
+
- Summary: 获取频道信息/Get channel information
|
|
146
|
+
- Capabilities: profiles / accounts
|
|
147
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
148
|
+
- operationId: `get_channel_info_api_v1_youtube_web_get_channel_info_get`
|
|
149
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-info`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-info)
|
|
150
|
+
|
|
151
|
+
#### Parameters
|
|
152
|
+
|
|
153
|
+
| Field | In | Type | Required | Description |
|
|
154
|
+
| --- | --- | --- | --- | --- |
|
|
155
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID |
|
|
156
|
+
|
|
157
|
+
#### Request Body
|
|
158
|
+
|
|
159
|
+
None
|
|
160
|
+
|
|
161
|
+
#### Success Response
|
|
162
|
+
|
|
163
|
+
##### `200 application/json`
|
|
164
|
+
|
|
165
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
166
|
+
|
|
167
|
+
| Field | Type | Required | Description |
|
|
168
|
+
| --- | --- | --- | --- |
|
|
169
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
170
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
171
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
172
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
173
|
+
| support | string | No | Support message \| 支持消息 |
|
|
174
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
175
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
176
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
177
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
178
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
179
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
180
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
181
|
+
|
|
182
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
183
|
+
|
|
184
|
+
### `GET /api/u1/v1/youtube/web/get_channel_short_videos`
|
|
185
|
+
|
|
186
|
+
- Summary: 获取频道短视频/Get channel short videos
|
|
187
|
+
- Capabilities: profiles / accounts / content details
|
|
188
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
189
|
+
- operationId: `get_channel_short_videos_api_v1_youtube_web_get_channel_short_videos_get`
|
|
190
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-short-videos`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-short-videos)
|
|
191
|
+
|
|
192
|
+
#### Parameters
|
|
193
|
+
|
|
194
|
+
| Field | In | Type | Required | Description |
|
|
195
|
+
| --- | --- | --- | --- | --- |
|
|
196
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID |
|
|
197
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
198
|
+
|
|
199
|
+
#### Request Body
|
|
200
|
+
|
|
201
|
+
None
|
|
202
|
+
|
|
203
|
+
#### Success Response
|
|
204
|
+
|
|
205
|
+
##### `200 application/json`
|
|
206
|
+
|
|
207
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
208
|
+
|
|
209
|
+
| Field | Type | Required | Description |
|
|
210
|
+
| --- | --- | --- | --- |
|
|
211
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
212
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
213
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
214
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
215
|
+
| support | string | No | Support message \| 支持消息 |
|
|
216
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
217
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
218
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
219
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
220
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
221
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
222
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
223
|
+
|
|
224
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
225
|
+
|
|
226
|
+
### `GET /api/u1/v1/youtube/web/get_channel_url`
|
|
227
|
+
|
|
228
|
+
- Summary: 从频道ID获取频道URL/Get channel URL from channel ID
|
|
229
|
+
- Capabilities: profiles / accounts
|
|
230
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
231
|
+
- operationId: `get_channel_url_api_v1_youtube_web_get_channel_url_get`
|
|
232
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-url`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-url)
|
|
233
|
+
|
|
234
|
+
#### Parameters
|
|
235
|
+
|
|
236
|
+
| Field | In | Type | Required | Description |
|
|
237
|
+
| --- | --- | --- | --- | --- |
|
|
238
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID (格式如:UCeu6U67OzJhV1KwBansH3Dg) |
|
|
239
|
+
|
|
240
|
+
#### Request Body
|
|
241
|
+
|
|
242
|
+
None
|
|
243
|
+
|
|
244
|
+
#### Success Response
|
|
245
|
+
|
|
246
|
+
##### `200 application/json`
|
|
247
|
+
|
|
248
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
249
|
+
|
|
250
|
+
| Field | Type | Required | Description |
|
|
251
|
+
| --- | --- | --- | --- |
|
|
252
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
253
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
254
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
255
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
256
|
+
| support | string | No | Support message \| 支持消息 |
|
|
257
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
258
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
259
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
260
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
261
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
262
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
263
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
264
|
+
|
|
265
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
266
|
+
|
|
267
|
+
### `GET /api/u1/v1/youtube/web/get_channel_videos`
|
|
268
|
+
|
|
269
|
+
- Summary: 获取频道视频 V1(即将过时,优先使用 V2)/Get channel videos V1 (deprecated soon, use V2 first)
|
|
270
|
+
- Capabilities: profiles / accounts / content details
|
|
271
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
272
|
+
- operationId: `get_channel_videos_api_v1_youtube_web_get_channel_videos_get`
|
|
273
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-videos`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-videos)
|
|
274
|
+
|
|
275
|
+
#### Parameters
|
|
276
|
+
|
|
277
|
+
| Field | In | Type | Required | Description |
|
|
278
|
+
| --- | --- | --- | --- | --- |
|
|
279
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID |
|
|
280
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
281
|
+
|
|
282
|
+
#### Request Body
|
|
283
|
+
|
|
284
|
+
None
|
|
285
|
+
|
|
286
|
+
#### Success Response
|
|
287
|
+
|
|
288
|
+
##### `200 application/json`
|
|
289
|
+
|
|
290
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
291
|
+
|
|
292
|
+
| Field | Type | Required | Description |
|
|
293
|
+
| --- | --- | --- | --- |
|
|
294
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
295
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
296
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
297
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
298
|
+
| support | string | No | Support message \| 支持消息 |
|
|
299
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
300
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
301
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
302
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
303
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
304
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
305
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
306
|
+
|
|
307
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
308
|
+
|
|
309
|
+
### `GET /api/u1/v1/youtube/web/get_channel_videos_v2`
|
|
310
|
+
|
|
311
|
+
- Summary: 获取频道视频 V2/Get channel videos V2
|
|
312
|
+
- Capabilities: profiles / accounts / content details
|
|
313
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
314
|
+
- operationId: `get_channel_videos_v2_api_v1_youtube_web_get_channel_videos_v2_get`
|
|
315
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-videos-v2`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-videos-v2)
|
|
316
|
+
|
|
317
|
+
#### Parameters
|
|
318
|
+
|
|
319
|
+
| Field | In | Type | Required | Description |
|
|
320
|
+
| --- | --- | --- | --- | --- |
|
|
321
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID |
|
|
322
|
+
| lang | query | string | No | 视频结果语言代码/Video result language code |
|
|
323
|
+
| sortBy | query | string | No | 排序方式/Sort by |
|
|
324
|
+
| contentType | query | string | No | 内容类型/Content type |
|
|
325
|
+
| nextToken | query | string | No | 翻页令牌/Pagination token |
|
|
326
|
+
|
|
327
|
+
#### Request Body
|
|
328
|
+
|
|
329
|
+
None
|
|
330
|
+
|
|
331
|
+
#### Success Response
|
|
332
|
+
|
|
333
|
+
##### `200 application/json`
|
|
334
|
+
|
|
335
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
336
|
+
|
|
337
|
+
| Field | Type | Required | Description |
|
|
338
|
+
| --- | --- | --- | --- |
|
|
339
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
340
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
341
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
342
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
343
|
+
| support | string | No | Support message \| 支持消息 |
|
|
344
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
345
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
346
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
347
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
348
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
349
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
350
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
351
|
+
|
|
352
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
353
|
+
|
|
354
|
+
### `GET /api/u1/v1/youtube/web/get_channel_videos_v3`
|
|
355
|
+
|
|
356
|
+
- Summary: 获取频道视频 V3/Get channel videos V3
|
|
357
|
+
- Capabilities: profiles / accounts / content details
|
|
358
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
359
|
+
- operationId: `get_channel_videos_v3_api_v1_youtube_web_get_channel_videos_v3_get`
|
|
360
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-videos-v3`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-channel-videos-v3)
|
|
361
|
+
|
|
362
|
+
#### Parameters
|
|
363
|
+
|
|
364
|
+
| Field | In | Type | Required | Description |
|
|
365
|
+
| --- | --- | --- | --- | --- |
|
|
366
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID |
|
|
367
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
368
|
+
| country_code | query | string | No | 国家代码(如US, JP等)/Country code |
|
|
369
|
+
| continuation_token | query | string | No | 分页token,用于获取下一页/Pagination token for next page |
|
|
370
|
+
| need_format | query | boolean | No | 是否需要清洗数据,提取关键内容,移除冗余数据/Whether to clean and format the data |
|
|
371
|
+
|
|
372
|
+
#### Request Body
|
|
373
|
+
|
|
374
|
+
None
|
|
375
|
+
|
|
376
|
+
#### Success Response
|
|
377
|
+
|
|
378
|
+
##### `200 application/json`
|
|
379
|
+
|
|
380
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
381
|
+
|
|
382
|
+
| Field | Type | Required | Description |
|
|
383
|
+
| --- | --- | --- | --- |
|
|
384
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
385
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
386
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
387
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
388
|
+
| support | string | No | Support message \| 支持消息 |
|
|
389
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
390
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
391
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
392
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
393
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
394
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
395
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
396
|
+
|
|
397
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
398
|
+
|
|
399
|
+
### `GET /api/u1/v1/youtube/web/get_general_search`
|
|
400
|
+
|
|
401
|
+
- Summary: 综合搜索(支持过滤条件)/General search with filters
|
|
402
|
+
- Capabilities: search
|
|
403
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
404
|
+
- operationId: `get_general_search_api_v1_youtube_web_get_general_search_get`
|
|
405
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-general-search`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-general-search)
|
|
406
|
+
|
|
407
|
+
#### Parameters
|
|
408
|
+
|
|
409
|
+
| Field | In | Type | Required | Description |
|
|
410
|
+
| --- | --- | --- | --- | --- |
|
|
411
|
+
| search_query | query | string | Yes | 搜索关键字/Search keyword |
|
|
412
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
413
|
+
| country_code | query | string | No | 国家代码(如US, CN等)/Country code |
|
|
414
|
+
| time_zone | query | string | No | 时区(如America/Los_Angeles, Asia/Shanghai等)/Time zone |
|
|
415
|
+
| upload_time | query | string enum[hour, today, week, month, year] | No | 上传时间过滤 \| Upload time filter |
|
|
416
|
+
| duration | query | string enum[short, medium, long] | No | 视频时长过滤 \| Duration filter |
|
|
417
|
+
| content_type | query | string enum[video, channel, playlist, movie] | No | 内容类型过滤 \| Content type filter |
|
|
418
|
+
| feature | query | string enum[live, 4k, hd, subtitles, creative_commons, 360, ...] | No | 特征过滤 \| Feature filter |
|
|
419
|
+
| sort_by | query | string enum[relevance, upload_date, view_count, rating] | No | 排序方式 \| Sort by |
|
|
420
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
421
|
+
|
|
422
|
+
#### Request Body
|
|
423
|
+
|
|
424
|
+
None
|
|
425
|
+
|
|
426
|
+
#### Success Response
|
|
427
|
+
|
|
428
|
+
##### `200 application/json`
|
|
429
|
+
|
|
430
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
431
|
+
|
|
432
|
+
| Field | Type | Required | Description |
|
|
433
|
+
| --- | --- | --- | --- |
|
|
434
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
435
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
436
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
437
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
438
|
+
| support | string | No | Support message \| 支持消息 |
|
|
439
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
440
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
441
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
442
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
443
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
444
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
445
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
446
|
+
|
|
447
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
448
|
+
|
|
449
|
+
### `GET /api/u1/v1/youtube/web/get_relate_video`
|
|
450
|
+
|
|
451
|
+
- Summary: 获取推荐视频/Get related videos
|
|
452
|
+
- Capabilities: content details
|
|
453
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
454
|
+
- operationId: `get_relate_video_api_v1_youtube_web_get_relate_video_get`
|
|
455
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-relate-video`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-relate-video)
|
|
456
|
+
|
|
457
|
+
#### Parameters
|
|
458
|
+
|
|
459
|
+
| Field | In | Type | Required | Description |
|
|
460
|
+
| --- | --- | --- | --- | --- |
|
|
461
|
+
| video_id | query | string | Yes | 视频ID/Video ID |
|
|
462
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
463
|
+
|
|
464
|
+
#### Request Body
|
|
465
|
+
|
|
466
|
+
None
|
|
467
|
+
|
|
468
|
+
#### Success Response
|
|
469
|
+
|
|
470
|
+
##### `200 application/json`
|
|
471
|
+
|
|
472
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
473
|
+
|
|
474
|
+
| Field | Type | Required | Description |
|
|
475
|
+
| --- | --- | --- | --- |
|
|
476
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
477
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
478
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
479
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
480
|
+
| support | string | No | Support message \| 支持消息 |
|
|
481
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
482
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
483
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
484
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
485
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
486
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
487
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
488
|
+
|
|
489
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
490
|
+
|
|
491
|
+
### `GET /api/u1/v1/youtube/web/get_shorts_search`
|
|
492
|
+
|
|
493
|
+
- Summary: YouTube Shorts短视频搜索/YouTube Shorts search
|
|
494
|
+
- Capabilities: search
|
|
495
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
496
|
+
- operationId: `get_shorts_search_api_v1_youtube_web_get_shorts_search_get`
|
|
497
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-shorts-search`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-shorts-search)
|
|
498
|
+
|
|
499
|
+
#### Parameters
|
|
500
|
+
|
|
501
|
+
| Field | In | Type | Required | Description |
|
|
502
|
+
| --- | --- | --- | --- | --- |
|
|
503
|
+
| search_query | query | string | Yes | 搜索关键字/Search keyword |
|
|
504
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
505
|
+
| country_code | query | string | No | 国家代码(如US, CN等)/Country code |
|
|
506
|
+
| time_zone | query | string | No | 时区(如America/Los_Angeles, Asia/Shanghai等)/Time zone |
|
|
507
|
+
| upload_time | query | string enum[hour, today, week, month, year] | No | 上传时间过滤 \| Upload time filter for Shorts |
|
|
508
|
+
| sort_by | query | string enum[relevance, upload_date, view_count, rating] | No | 排序方式 \| Sort by for Shorts |
|
|
509
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
510
|
+
| filter_mixed_content | query | boolean | No | 是否过滤混合内容(长视频),默认True / Filter mixed content (long videos), default True |
|
|
511
|
+
|
|
512
|
+
#### Request Body
|
|
513
|
+
|
|
514
|
+
None
|
|
515
|
+
|
|
516
|
+
#### Success Response
|
|
517
|
+
|
|
518
|
+
##### `200 application/json`
|
|
519
|
+
|
|
520
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
521
|
+
|
|
522
|
+
| Field | Type | Required | Description |
|
|
523
|
+
| --- | --- | --- | --- |
|
|
524
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
525
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
526
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
527
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
528
|
+
| support | string | No | Support message \| 支持消息 |
|
|
529
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
530
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
531
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
532
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
533
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
534
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
535
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
536
|
+
|
|
537
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
538
|
+
|
|
539
|
+
### `GET /api/u1/v1/youtube/web/get_trending_videos`
|
|
540
|
+
|
|
541
|
+
- Summary: 获取趋势视频/Get trending videos
|
|
542
|
+
- Capabilities: trends / rankings / content details
|
|
543
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
544
|
+
- operationId: `get_trending_videos_api_v1_youtube_web_get_trending_videos_get`
|
|
545
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-trending-videos`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-trending-videos)
|
|
546
|
+
|
|
547
|
+
#### Parameters
|
|
548
|
+
|
|
549
|
+
| Field | In | Type | Required | Description |
|
|
550
|
+
| --- | --- | --- | --- | --- |
|
|
551
|
+
| language_code | query | string | No | 语言代码/Language code |
|
|
552
|
+
| country_code | query | string | No | 国家代码/Country code |
|
|
553
|
+
| section | query | string | No | 类型/Section |
|
|
554
|
+
|
|
555
|
+
#### Request Body
|
|
556
|
+
|
|
557
|
+
None
|
|
558
|
+
|
|
559
|
+
#### Success Response
|
|
560
|
+
|
|
561
|
+
##### `200 application/json`
|
|
562
|
+
|
|
563
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
564
|
+
|
|
565
|
+
| Field | Type | Required | Description |
|
|
566
|
+
| --- | --- | --- | --- |
|
|
567
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
568
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
569
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
570
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
571
|
+
| support | string | No | Support message \| 支持消息 |
|
|
572
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
573
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
574
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
575
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
576
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
577
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
578
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
579
|
+
|
|
580
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
581
|
+
|
|
582
|
+
### `GET /api/u1/v1/youtube/web/get_video_comment_replies`
|
|
583
|
+
|
|
584
|
+
- Summary: 获取视频二级评论/Get video sub comments
|
|
585
|
+
- Capabilities: comments / content details
|
|
586
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
587
|
+
- operationId: `get_video_comment_replies_api_v1_youtube_web_get_video_comment_replies_get`
|
|
588
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-comment-replies`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-comment-replies)
|
|
589
|
+
|
|
590
|
+
#### Parameters
|
|
591
|
+
|
|
592
|
+
| Field | In | Type | Required | Description |
|
|
593
|
+
| --- | --- | --- | --- | --- |
|
|
594
|
+
| continuation_token | query | string | Yes | 回复的continuation token(从一级评论的reply_continuation_token字段获取)/Reply continuation token from first-level comment |
|
|
595
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
596
|
+
| country_code | query | string | No | 国家代码(如US, JP等)/Country code |
|
|
597
|
+
| need_format | query | boolean | No | 是否需要清洗数据,提取关键内容,移除冗余数据/Whether to clean and format the data |
|
|
598
|
+
|
|
599
|
+
#### Request Body
|
|
600
|
+
|
|
601
|
+
None
|
|
602
|
+
|
|
603
|
+
#### Success Response
|
|
604
|
+
|
|
605
|
+
##### `200 application/json`
|
|
606
|
+
|
|
607
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
608
|
+
|
|
609
|
+
| Field | Type | Required | Description |
|
|
610
|
+
| --- | --- | --- | --- |
|
|
611
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
612
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
613
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
614
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
615
|
+
| support | string | No | Support message \| 支持消息 |
|
|
616
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
617
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
618
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
619
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
620
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
621
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
622
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
623
|
+
|
|
624
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
625
|
+
|
|
626
|
+
### `GET /api/u1/v1/youtube/web/get_video_comments`
|
|
627
|
+
|
|
628
|
+
- Summary: 获取视频评论/Get video comments
|
|
629
|
+
- Capabilities: comments / content details
|
|
630
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
631
|
+
- operationId: `get_video_comments_api_v1_youtube_web_get_video_comments_get`
|
|
632
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-comments`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-comments)
|
|
633
|
+
|
|
634
|
+
#### Parameters
|
|
635
|
+
|
|
636
|
+
| Field | In | Type | Required | Description |
|
|
637
|
+
| --- | --- | --- | --- | --- |
|
|
638
|
+
| video_id | query | string | Yes | 视频ID/Video ID |
|
|
639
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
640
|
+
| country_code | query | string | No | 国家代码(如US, JP等)/Country code |
|
|
641
|
+
| sort_by | query | string enum[top, newest] | No | 排序方式 \| Sort by |
|
|
642
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
643
|
+
| need_format | query | boolean | No | 是否需要清洗数据,提取关键内容,移除冗余数据/Whether to clean and format the data |
|
|
644
|
+
|
|
645
|
+
#### Request Body
|
|
646
|
+
|
|
647
|
+
None
|
|
648
|
+
|
|
649
|
+
#### Success Response
|
|
650
|
+
|
|
651
|
+
##### `200 application/json`
|
|
652
|
+
|
|
653
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
654
|
+
|
|
655
|
+
| Field | Type | Required | Description |
|
|
656
|
+
| --- | --- | --- | --- |
|
|
657
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
658
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
659
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
660
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
661
|
+
| support | string | No | Support message \| 支持消息 |
|
|
662
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
663
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
664
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
665
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
666
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
667
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
668
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
669
|
+
|
|
670
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
671
|
+
|
|
672
|
+
### `GET /api/u1/v1/youtube/web/get_video_info`
|
|
673
|
+
|
|
674
|
+
- Summary: 获取视频信息 V1/Get video information V1
|
|
675
|
+
- Capabilities: content details
|
|
676
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
677
|
+
- operationId: `get_video_info_api_v1_youtube_web_get_video_info_get`
|
|
678
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-info`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-info)
|
|
679
|
+
|
|
680
|
+
#### Parameters
|
|
681
|
+
|
|
682
|
+
| Field | In | Type | Required | Description |
|
|
683
|
+
| --- | --- | --- | --- | --- |
|
|
684
|
+
| video_id | query | string | Yes | 视频ID/Video ID |
|
|
685
|
+
| url_access | query | string enum[normal, blocked] | No | URL访问模式:normal(包含音视频URL)\| blocked(不包含音视频URL) / URL access mode |
|
|
686
|
+
| lang | query | string | No | 语言代码(IETF标签),默认en-US / Language code |
|
|
687
|
+
| videos | query | string enum[auto, true, raw, false] | No | 视频格式:auto(自动)\| true(简化格式)\| raw(原始格式)\| false(不获取) / Video format selection |
|
|
688
|
+
| audios | query | string enum[auto, true, raw, false] | No | 音频格式:auto(自动)\| true(简化格式)\| raw(原始格式)\| false(不获取) / Audio format selection |
|
|
689
|
+
| subtitles | query | boolean | No | 是否获取字幕 / Include subtitles |
|
|
690
|
+
| related | query | boolean | No | 是否获取相关视频 / Include related content |
|
|
691
|
+
|
|
692
|
+
#### Request Body
|
|
693
|
+
|
|
694
|
+
None
|
|
695
|
+
|
|
696
|
+
#### Success Response
|
|
697
|
+
|
|
698
|
+
##### `200 application/json`
|
|
699
|
+
|
|
700
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
701
|
+
|
|
702
|
+
| Field | Type | Required | Description |
|
|
703
|
+
| --- | --- | --- | --- |
|
|
704
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
705
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
706
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
707
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
708
|
+
| support | string | No | Support message \| 支持消息 |
|
|
709
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
710
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
711
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
712
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
713
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
714
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
715
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
716
|
+
|
|
717
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
718
|
+
|
|
719
|
+
### `GET /api/u1/v1/youtube/web/get_video_info_v2`
|
|
720
|
+
|
|
721
|
+
- Summary: 获取视频信息 V2/Get video information V2
|
|
722
|
+
- Capabilities: content details
|
|
723
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
724
|
+
- operationId: `get_video_info_v2_api_v1_youtube_web_get_video_info_v2_get`
|
|
725
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-info-v2`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-info-v2)
|
|
726
|
+
|
|
727
|
+
#### Parameters
|
|
728
|
+
|
|
729
|
+
| Field | In | Type | Required | Description |
|
|
730
|
+
| --- | --- | --- | --- | --- |
|
|
731
|
+
| video_id | query | string | Yes | 视频ID/Video ID |
|
|
732
|
+
|
|
733
|
+
#### Request Body
|
|
734
|
+
|
|
735
|
+
None
|
|
736
|
+
|
|
737
|
+
#### Success Response
|
|
738
|
+
|
|
739
|
+
##### `200 application/json`
|
|
740
|
+
|
|
741
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
742
|
+
|
|
743
|
+
| Field | Type | Required | Description |
|
|
744
|
+
| --- | --- | --- | --- |
|
|
745
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
746
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
747
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
748
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
749
|
+
| support | string | No | Support message \| 支持消息 |
|
|
750
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
751
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
752
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
753
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
754
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
755
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
756
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
757
|
+
|
|
758
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
759
|
+
|
|
760
|
+
### `GET /api/u1/v1/youtube/web/get_video_info_v3`
|
|
761
|
+
|
|
762
|
+
- Summary: 获取视频详情 V3/Get video information V3
|
|
763
|
+
- Capabilities: content details
|
|
764
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
765
|
+
- operationId: `get_video_info_v3_api_v1_youtube_web_get_video_info_v3_get`
|
|
766
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-info-v3`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-info-v3)
|
|
767
|
+
|
|
768
|
+
#### Parameters
|
|
769
|
+
|
|
770
|
+
| Field | In | Type | Required | Description |
|
|
771
|
+
| --- | --- | --- | --- | --- |
|
|
772
|
+
| video_id | query | string | Yes | 视频ID/Video ID |
|
|
773
|
+
| language_code | query | string | No | 语言代码(如zh-CN, en-US等)/Language code |
|
|
774
|
+
|
|
775
|
+
#### Request Body
|
|
776
|
+
|
|
777
|
+
None
|
|
778
|
+
|
|
779
|
+
#### Success Response
|
|
780
|
+
|
|
781
|
+
##### `200 application/json`
|
|
782
|
+
|
|
783
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
784
|
+
|
|
785
|
+
| Field | Type | Required | Description |
|
|
786
|
+
| --- | --- | --- | --- |
|
|
787
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
788
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
789
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
790
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
791
|
+
| support | string | No | Support message \| 支持消息 |
|
|
792
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
793
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
794
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
795
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
796
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
797
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
798
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
799
|
+
|
|
800
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
801
|
+
|
|
802
|
+
### `GET /api/u1/v1/youtube/web/get_video_subtitles`
|
|
803
|
+
|
|
804
|
+
- Summary: 获取视频字幕/Get video subtitles
|
|
805
|
+
- Capabilities: subtitles / transcription / content details
|
|
806
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
807
|
+
- operationId: `api_get_video_subtitles_api_v1_youtube_web_get_video_subtitles_get`
|
|
808
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-subtitles`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-get-video-subtitles)
|
|
809
|
+
|
|
810
|
+
#### Parameters
|
|
811
|
+
|
|
812
|
+
| Field | In | Type | Required | Description |
|
|
813
|
+
| --- | --- | --- | --- | --- |
|
|
814
|
+
| subtitle_url | query | string | Yes | 字幕URL(需先调用获取视频详情接口) / Subtitle URL from video details |
|
|
815
|
+
| format | query | string enum[srt, xml, vtt, txt] | No | 字幕格式:srt/xml/vtt/txt / Subtitle format |
|
|
816
|
+
| fix_overlap | query | boolean | No | 修复重叠字幕(默认开启) / Fix overlapping subtitles |
|
|
817
|
+
| target_lang | query | string | No | 目标语言代码(留空保持原语言) / Target language code |
|
|
818
|
+
|
|
819
|
+
#### Request Body
|
|
820
|
+
|
|
821
|
+
None
|
|
822
|
+
|
|
823
|
+
#### Success Response
|
|
824
|
+
|
|
825
|
+
##### `200 application/json`
|
|
826
|
+
|
|
827
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
828
|
+
|
|
829
|
+
| Field | Type | Required | Description |
|
|
830
|
+
| --- | --- | --- | --- |
|
|
831
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
832
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
833
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
834
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
835
|
+
| support | string | No | Support message \| 支持消息 |
|
|
836
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
837
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
838
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
839
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
840
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
841
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
842
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
843
|
+
|
|
844
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
845
|
+
|
|
846
|
+
### `GET /api/u1/v1/youtube/web/search_channel`
|
|
847
|
+
|
|
848
|
+
- Summary: 搜索频道/Search channel
|
|
849
|
+
- Capabilities: search / profiles / accounts
|
|
850
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
851
|
+
- operationId: `search_channel_api_v1_youtube_web_search_channel_get`
|
|
852
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-search-channel`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-search-channel)
|
|
853
|
+
|
|
854
|
+
#### Parameters
|
|
855
|
+
|
|
856
|
+
| Field | In | Type | Required | Description |
|
|
857
|
+
| --- | --- | --- | --- | --- |
|
|
858
|
+
| channel_id | query | string | Yes | 频道ID/Channel ID |
|
|
859
|
+
| search_query | query | string | Yes | 搜索关键字/Search keyword |
|
|
860
|
+
| language_code | query | string | No | 语言代码/Language code |
|
|
861
|
+
| country_code | query | string | No | 国家代码/Country code |
|
|
862
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
863
|
+
|
|
864
|
+
#### Request Body
|
|
865
|
+
|
|
866
|
+
None
|
|
867
|
+
|
|
868
|
+
#### Success Response
|
|
869
|
+
|
|
870
|
+
##### `200 application/json`
|
|
871
|
+
|
|
872
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
873
|
+
|
|
874
|
+
| Field | Type | Required | Description |
|
|
875
|
+
| --- | --- | --- | --- |
|
|
876
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
877
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
878
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
879
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
880
|
+
| support | string | No | Support message \| 支持消息 |
|
|
881
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
882
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
883
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
884
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
885
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
886
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
887
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
888
|
+
|
|
889
|
+
- Fields truncated: this layer shows only the first `12` rows.
|
|
890
|
+
|
|
891
|
+
### `GET /api/u1/v1/youtube/web/search_video`
|
|
892
|
+
|
|
893
|
+
- Summary: 搜索视频/Search video
|
|
894
|
+
- Capabilities: search / content details
|
|
895
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
896
|
+
- operationId: `search_video_api_v1_youtube_web_search_video_get`
|
|
897
|
+
- Full contract: [`api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-search-video`](../api-contracts/youtube-web-api.md#get-api-u1-v1-youtube-web-search-video)
|
|
898
|
+
|
|
899
|
+
#### Parameters
|
|
900
|
+
|
|
901
|
+
| Field | In | Type | Required | Description |
|
|
902
|
+
| --- | --- | --- | --- | --- |
|
|
903
|
+
| search_query | query | string | Yes | 搜索关键字/Search keyword |
|
|
904
|
+
| language_code | query | string | No | 语言代码/Language code |
|
|
905
|
+
| order_by | query | string | No | 排序方式/Order by |
|
|
906
|
+
| country_code | query | string | No | 国家代码/Country code |
|
|
907
|
+
| continuation_token | query | string | No | 翻页令牌/Pagination token |
|
|
908
|
+
|
|
909
|
+
#### Request Body
|
|
910
|
+
|
|
911
|
+
None
|
|
912
|
+
|
|
913
|
+
#### Success Response
|
|
914
|
+
|
|
915
|
+
##### `200 application/json`
|
|
916
|
+
|
|
917
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
918
|
+
|
|
919
|
+
| Field | Type | Required | Description |
|
|
920
|
+
| --- | --- | --- | --- |
|
|
921
|
+
| code | integer | No | HTTP status code \| HTTP状态码 |
|
|
922
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 |
|
|
923
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) |
|
|
924
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) |
|
|
925
|
+
| support | string | No | Support message \| 支持消息 |
|
|
926
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 |
|
|
927
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 |
|
|
928
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 |
|
|
929
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 |
|
|
930
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) |
|
|
931
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) |
|
|
932
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL |
|
|
933
|
+
|
|
934
|
+
- Fields truncated: this layer shows only the first `12` rows.
|