yt-dlpの一部のバージョンでAbemaTVが利用できなくなった

追記

yt-dlp 2022.07.18がリリースされました.このバージョンでAbemaTVを試したところ問題なく利用できました. yt-dlp -U でアップデートしましょう.


各種動画をローカルにダウンロードできるyt-dlpですが,yt-dlp 2022.03.08以降AbemaTVに対応しました.

しかし最近ダウンロードが出来ません,

以下のようにエラーとなります.

$ yt-dlp https://abema.tv/video/title/26-171
[AbemaTVTitle] 26-171: Downloading webpage
[download] Downloading playlist: リコリス・リコイル
[AbemaTVTitle] Playlist リコリス・リコイル: Downloading 2 videos of 2
[download] Downloading video 1 of 2
[AbemaTV] Authorizing
[AbemaTV] 26-171_s1_p1: Downloading webpage
[AbemaTV] 26-171_s1_p1: Checking playability
[AbemaTV] 26-171_s1_p1: Downloading m3u8 information
[info] 26-171_s1_p1: Downloading 1 format(s): 5300
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 265
[download] Destination: 第1話 Easy does it [26-171_s1_p1].mp4
[download]   0.4% of ~415.26MiB at  796.79KiB/s ETA 08:45 (frag 1/265)ERROR: base None exceeds table length 58
[download] Downloading video 2 of 2
[AbemaTV] 26-171_s1_p500: Downloading webpage
[AbemaTV] 26-171_s1_p500: Checking playability
[AbemaTV] 26-171_s1_p500: Downloading m3u8 information
[info] 26-171_s1_p500: Downloading 1 format(s): 5300
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 21
[download] Destination: PV【7_2より毎週土曜23_30〜地上波同時・独占先行放送】 [26-171_s1_p500].mp4
[download]   4.8% of ~27.57MiB at  794.86KiB/s ETA 00:33 (frag 1/21)ERROR: base None exceeds table length 58
[download] Finished downloading playlist: リコリス・リコイル

yt-dlpのバージョンは2022.06.29でアップデートを試みても最新です.

$ yt-dlp --version
2022.06.29
$ yt-dlp -U
Latest version: 2022.06.29, Current version: 2022.06.29
yt-dlp is up to date (2022.06.29)
$ yt-dlp https://abema.tv/video/episode/26-171_s1_p1 360p -o "リコリス・リコイル 第1話 Easy does it.mp4"

streamlinkが問題ないってことはyt-dlpが怪しい?と古いバーションを試すとyt-dlp 2022.05.18だとうまくいきました.

$ wget https://github.com/yt-dlp/yt-dlp/releases/download/2022.05.18/yt-dlp https://github.com/yt-dlp/yt-dlp/releases/download/2022.05.18/SHA2-512SUMS
$ LC_ALL=C sha512sum -c SHA2-512SUMS 2>/dev/null
yt-dlp: OK
yt-dlp.tar.gz: FAILED open or read
yt-dlp.exe: FAILED open or read
yt-dlp_win.zip: FAILED open or read
yt-dlp_min.exe: FAILED open or read
yt-dlp_x86.exe: FAILED open or read
yt-dlp_macos: FAILED open or read
yt-dlp_macos.zip: FAILED open or read
$ install -m 755 ./yt-dlp ~/bin/yt-dlp-2022.05.18
$ rm ./yt-dlp ./SHA2-512SUMS
$ yt-dlp-2022.05.18 https://abema.tv/video/title/26-171

ということで,yt-dlp 2022.06.22.12022.06.29l がNGのようです.
ISSUEを探すとそれらしいものが.修正済のようなので自バージョンあたりでまた動作するようになるのではと思います.

環境
$ yt-dlp --version
2022.06.29
$ yt-dlp-2022.05.18 --version
2022.05.18
$ dpkg-query -W ffmpeg
ffmpeg  7:4.3.4-0+deb11u1+rpt2
$ lsb_release -dr
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
$ arch
armv7l
$ cat /proc/device-tree/model && echo
Raspberry Pi 3 Model B Rev 1.2

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です