Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

yt-dlp でYouTube Liveの「The following content is not available on this app.」を回避する

0
Posted at

問題

以下のようなエラーが出る問題の解決策。

yt-dlp --cookies-from-browser firefox --live-from-start "https://www.youtube.com/watch?v=VIDEO_ID"

Extracting cookies from firefox
Extracted 1727 cookies from firefox
[youtube] Extracting URL: https://www.youtube.com/watch?v=VIDEO_ID
[youtube] VIDEO_ID: Downloading webpage
[youtube] VIDEO_ID: Downloading tv client config
[youtube] VIDEO_ID: Downloading tv player API JSON
[youtube] VIDEO_ID: Downloading MPD manifest
ERROR: [youtube] VIDEO_ID: The following content is not available on this app.

対処法

PO Token for GVS を実行時に入力すればダウンロードできました。

POトークンの取得 (PO Token for GVS)

  1. YouTube Musicをブラウザで開く
    https://music.youtube.com/
  2. 開発者ツールを開いて、ネットワークタブを開く
  3. フィルター欄に「v1/player」と入力する
  4. 曲を再生する
  5. 最新のリクエストを選択して、「要求」からpoTokenの値をコピー
    image.png
  6. poTokenを指定してyt-dlpを使用
    PO_TOKEN_VALUE_HEREを実際の値に書き換えて、実行時に追加する。
    使用するときはCookieも渡す必要があります。
--extractor-args "youtube:player-client=default,mweb;po_token=mweb.gvs+PO_TOKEN_VALUE_HERE"

実行例

yt-dlp --cookies-from-browser firefox --live-from-start --extractor-args "youtube:player-client=default,mweb;po_token=mweb.gvs+PO_TOKEN_VALUE_HERE" "https://www.youtube.com/watch?v=VIDEO_ID"

以上。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Comments

No comments

Let's comment your feelings that are more than good

Being held Article posting campaign

お題は不問!Qiita Tech Festa 2026で記事投稿!

2026-06-01 ~ 2026-07-13

View details
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Login to continue?

Login or Sign up with social account

Login or Sign up with your email address