yt-dlp Video Link Extractor - Any URL to Links, 1000+ Sites

io.github.AnshumanAtrey由 GitHub 账号 AnshumanAtrey 发布v0.1.6更新于 Oct 29, 2026

yt-dlp Link Extractor - Any Video URL to Direct Links

已验证Streamable HTTP可网页运行网页搜索与抓取媒体与设计

概览

AI 生成的概览

托管在 Apify 上的 MCP 服务器,可将 1000 多个 yt-dlp 站点的视频链接解析为直链、字幕和元数据。

可以做什么
  • 把一个或多个视频、播放列表或频道链接解析为直链
  • 返回最佳合并链接,以及独立的视频流和音频流链接
  • 列出所有可用格式及其各自的链接、分辨率和编码
  • 返回标题、上传者、时长、播放量、上传日期等元数据
  • 返回缩略图和按语言分类的字幕/自动字幕链接
适用场景
当助手需要为 YouTube、Vimeo、SoundCloud、Twitch 等站点的视频取得可播放或可下载的直链,或需要批量获取视频元数据,或想把流地址交给自己的下载器、转码器或播放器时适用。它只返回链接,不是文件下载工具。
运行要求
远程 MCP 端点 mcp.apify.com,使用 OAuth 认证;需要 Apify API 令牌,以 Authorization 请求头中的 Bearer 形式发送。运行费用计入该 Apify 账户。可选输入包括代理配置,以及用于年龄限制或需登录视频的 Netscape 格式 cookies。
安装前请注意
每次运行都按事件计费(每次运行、每个处理的链接、每个成功解析的视频),批量处理播放列表费用会累积,可设置单次运行最高费用。Authorization 令牌是与计费账户绑定的 Apify API 凭据。可选的 cookies 属于敏感账户凭据。返回的链接通常有时效,应尽快使用。仅解析你有权访问的内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 yt-dlp Video Link Extractor - Any URL to Links, 1000+ Sites,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.AnshumanAtrey%2Fyt-dlp-video-link-extractor/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "yt-dlp-video-link-extractor-any-url-to-l": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=anshumanatrey/yt-dlp-video-link-extractor"
    }
  }
}

README

yt-dlp Video Link Extractor - Any URL to Links, 1000+ Sites

Paste any video URL and get back the direct stream and download links plus full metadata, resolved by yt-dlp. No files are stored, no RAM is burned - it resolves the links, it does not host the bytes.

Available as an Apify Actor. $0.002 per run + $0.003 per URL processed + $0.04 per video resolved.


What does it do?

Give it one or more video URLs. For each one it returns the direct media links (a single combined audio+video file when one exists, plus the best video-only and audio-only streams), every available format with its own URL, thumbnails, subtitles, and the metadata: title, uploader, duration, view count, upload date.

It is powered by yt-dlp, so it works on 1,872 sites (verified at build time) - YouTube, Vimeo, SoundCloud, Twitch, Dailymotion, Reddit, Rumble, Bilibili and far more - not just YouTube. You paste a URL, you get the links. That is the whole tool.

It never downloads the actual file. That is deliberate: downloading large videos into cloud storage is slow, expensive, and memory-heavy. Resolving the link is instant and lets you fetch, stream, or transcode the media yourself.

How is it different from a YouTube downloader?

Typical YouTube downloaderThis actor
SitesYouTube onlyAny of 1,000+ yt-dlp sites
OutputAn .mp4 file in storageThe direct links + full metadata
SpeedWaits for the full downloadResolves in seconds, no transfer
Cost driverPer MB downloadedPer URL + per video resolved (flat)
RAMBuffers the videoFlat - nothing is downloaded

Most actors in this space stop at YouTube. This one hands you the raw links for almost any video site, so you can build your own download, archive, or analysis pipeline on top.

When should I use it?

  • Get a direct, playable/downloadable link for a video on almost any site
  • Pull metadata (title, duration, views, upload date, uploader) in bulk
  • Feed stream URLs into your own downloader, transcoder, or player
  • Grab subtitle and caption track URLs across languages
  • Resolve every video in a playlist or channel to its links in one run

How much does it cost to resolve a video?

Pay-per-event:

  • $0.002 per run
  • $0.003 per URL processed (covers the resolve attempt for any URL)
  • $0.04 per video successfully resolved

A single video costs about $0.045. A failed URL costs only $0.005 (run + URL fee, never the $0.04 resolution fee). Resolving a 50-video playlist costs about $2.00. On paid Apify plans the URL and video fees are 10% less on Scale ($0.036 a video) and 20% less on Business and above ($0.032).

If you set a maximum cost per run, the actor stops when it is reached, never starts a URL it could not deliver, and says so in the run's status message.

Which inputs does it take?

FieldRequiredWhat it does
urlsyesOne or more video URLs. Any yt-dlp site works. A playlist/channel URL expands to its videos.
includeFormatsoptionalInclude the full format list (every resolution + codec with its URL) and all thumbnails. Default on.
includeSubtitlesoptionalInclude subtitle and auto-caption URLs by language. Default off.
playlistLimitoptionalMax videos to resolve from a playlist/channel. Default 50.
proxyConfigurationoptionalRoute through a proxy. Use a residential group for sites that block datacenter IPs.
cookiesoptionalNetscape-format cookie contents for age-restricted or login-gated videos.

What does the output look like?

One record per resolved video. The link-first fields:

json
{  "input_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",  "ok": true,  "extractor": "youtube",  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",  "uploader": "Rick Astley",  "duration": "3:33",  "view_count": 1779349674,  "upload_date": "2009-10-25",  "best_url": "https://rr3---sn-gwpa-a3ve7.googlevideo.com/videoplayback?...",  "best_url_kind": "combined",  "best_resolution": "640x360",  "best_video_url": "https://...  (up to 3840x2160)",  "best_audio_url": "https://...  (.m4a)",  "thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg",  "formats": [ { "format_id": "...", "ext": "mp4", "resolution": "1920x1080", "url": "..." } ]}
  • best_url is the single link most people want: a combined audio+video file when the site offers one, otherwise the best audio (for music/podcasts) or best video.
  • best_video_url + best_audio_url matter for high-resolution sources. YouTube and Vimeo serve 1080p/4K video and audio as separate streams, so best_url (the combined file) tops out lower - use the two separate links for maximum quality.
  • A failed URL returns { "input_url": ..., "ok": false, "error": "..." }.

How reliable is it?

yt-dlp is the most actively maintained extractor project in the world, and this actor follows its releases. A daily job builds each new yt-dlp release, runs it next to the current build on the same test videos, and ships it only if it resolves them at least as well, so extractor fixes usually reach your runs within a day and a release that does worse is held back. YouTube results include the combined audio+video link, because the actor ships the Deno JavaScript runtime that yt-dlp needs to solve YouTube's player challenges. When YouTube refuses a video to the cloud IP with a bot check, the actor retries that video through a residential proxy on its own, and vimeo.com links go through Vimeo's public player page, so neither needs your account.

Common questions

Q: Does it download the video file? No. It returns the direct links. Fetch, stream, or transcode the media yourself. This keeps it fast and cheap.

Q: Do the links expire? Often yes. Many sites (YouTube especially) issue time-limited URLs that expire in a few hours. Use them promptly.

Q: Which sites are supported? Anything yt-dlp supports - 1,872 extractors at last build, including YouTube, TikTok, Vimeo, Twitch, SoundCloud, Reddit, Dailymotion, Rumble, Bilibili, Facebook and more.

Q: A TikTok / Instagram / X link failed. Why? Those platforms aggressively block datacenter IPs. Supply a residential proxy in proxyConfiguration and/or cookies and retry. Most other sites work with no proxy.

Q: Does YouTube work? Yes: single videos, lists and playlists. YouTube answers some videos from cloud (datacenter) IPs with a "confirm you're not a bot" check. The actor then retries that video through a residential proxy automatically, at no extra charge, and the run's status message counts the retries. A retried video takes longer, about 20 to 40 seconds. Age-restricted and members-only videos still need cookies.

Q: Does Vimeo work? Yes. vimeo.com links, unlisted ones included, are resolved through Vimeo's public player page, which needs no account. View counts and upload dates come only with a Vimeo login: pass cookies for those. A video whose owner blocks embedding cannot be resolved without an account.

Q: Can I pass a whole playlist or channel? Yes. It expands to the videos inside, capped by playlistLimit.

Q: Can I get just the audio? Yes - best_audio_url is the best audio-only stream. For music sites it is also the best_url.

Q: Am I charged for failed URLs? Only the small per-URL processing fee ($0.003), which covers the resolve attempt. You are never charged the $0.04 resolution fee unless a video is actually resolved.

Limitations

  • Returns links, not downloaded files (by design).
  • Direct links are time-limited by the source platform - use them quickly.
  • Datacenter-blocked sites (TikTok, Instagram, X) need a residential proxy and/or cookies.
  • Live streams resolve to HLS/DASH manifest URLs, not a single finished file.

Ethical use

Download and use only content you have the right to access. Respect each platform's terms of service and copyright. This tool resolves publicly reachable media links; it does not bypass paywalls or DRM.

Other actors by the same maintainer

Part of a portfolio of cloud tools built and maintained by Anshuman Atrey (@AnshumanAtrey). Custom features shipped within 24-48h for legitimate use cases via atrey.dev.

ActorUse case
holehe-email-osintEmail to registered accounts across 120+ sites
social-analyzerUsername across 900+ social sites
theharvester-osintDomain to emails + subdomains
netintelIP/domain to WHOIS + DNS + GeoIP + ports
instagram-profile-intel-no-loginInstagram profile fields, no login

License

MIT (see LICENSE). Built on top of yt-dlp (Unlicense / public domain).

来源:README.md,提交 07854f6

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v0.1.6最新Oct 29, 2026
  2. v0.1.1Sep 24, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。