Closed Casper042 closed 1 year ago
PS: I found a previous bug from a few years ago with the exact same issue, but that was closed after an update to YTDL resolved the issue. Not a valid option here since I seem to be running latest,
This works fine with the git master.
$ python -m youtube_dl -v -F 'https://player.vimeo.com/video/113927055?fun=0' --referer 'https://videotextonline.com/'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://player.vimeo.com/video/113927055?fun=0', u'--referer', u'https://videotextonline.com/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: dd9aa74be
[debug] Python version 2.7.18 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[vimeo] 113927055: Downloading webpage
[vimeo] 113927055: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 113927055: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 113927055: Downloading fastly_skyfire m3u8 information
[vimeo] 113927055: Downloading fastly_skyfire m3u8 information
[vimeo] 113927055: Downloading akfire_interconnect_quic MPD information
[vimeo] 113927055: Downloading akfire_interconnect_quic MPD information
[vimeo] 113927055: Downloading fastly_skyfire MPD information
[vimeo] 113927055: Downloading fastly_skyfire MPD information
[info] Available formats for 113927055:
format code extension resolution note
hls-akfire_interconnect_quic_sep-audio-medium-audio mp4 audio only
hls-fastly_skyfire_sep-audio-medium-audio mp4 audio only
dash-akfire_interconnect_quic_sep-audio-1fae5093 m4a audio only DASH audio 114k , m4a_dash container, mp4a.40.2 (48000Hz)
dash-fastly_skyfire_sep-audio-1fae5093 m4a audio only DASH audio 114k , m4a_dash container, mp4a.40.2 (48000Hz)
dash-akfire_interconnect_quic_sep-audio-6b5a4c2e m4a audio only DASH audio 162k , m4a_dash container, mp4a.40.2 (48000Hz)
dash-fastly_skyfire_sep-audio-6b5a4c2e m4a audio only DASH audio 162k , m4a_dash container, mp4a.40.2 (48000Hz)
dash-akfire_interconnect_quic_sep-video-4a31d749 mp4 428x320 DASH video 351k , mp4_dash container, avc1.42C01E, video only
dash-fastly_skyfire_sep-video-4a31d749 mp4 428x320 DASH video 351k , mp4_dash container, avc1.42C01E, video only
hls-akfire_interconnect_quic_sep-411 mp4 428x320 411k , avc1.42C01E, 29.97fps, video only
hls-fastly_skyfire_sep-411 mp4 428x320 411k , avc1.42C01E, 29.97fps, video only
dash-akfire_interconnect_quic_sep-video-1fae5093 mp4 640x480 DASH video 717k , mp4_dash container, avc1.64001F, video only
dash-fastly_skyfire_sep-video-1fae5093 mp4 640x480 DASH video 717k , mp4_dash container, avc1.64001F, video only
hls-akfire_interconnect_quic_sep-692 mp4 640x480 692k , avc1.64001F, 29.97fps, video only
hls-fastly_skyfire_sep-692 mp4 640x480 692k , avc1.64001F, 29.97fps, video only
dash-akfire_interconnect_quic_sep-video-6b5a4c2e mp4 720x540 DASH video 1194k , mp4_dash container, avc1.64001F, video only
dash-fastly_skyfire_sep-video-6b5a4c2e mp4 720x540 DASH video 1194k , mp4_dash container, avc1.64001F, video only
hls-akfire_interconnect_quic_sep-1173 mp4 720x540 1173k , avc1.64001F, 29.97fps, video only
hls-fastly_skyfire_sep-1173 mp4 720x540 1173k , avc1.64001F, 29.97fps, video only
dash-akfire_interconnect_quic-video-4a31d749 mp4 428x320 DASH video 465k , mp4_dash container, avc1.42C01E, mp4a.40.2 (48000Hz)
dash-fastly_skyfire-video-4a31d749 mp4 428x320 DASH video 465k , mp4_dash container, avc1.42C01E, mp4a.40.2 (48000Hz)
hls-akfire_interconnect_quic-411 mp4 428x320 411k , avc1.42C01E, 29.97fps, mp4a.40.2
hls-fastly_skyfire-411 mp4 428x320 411k , avc1.42C01E, 29.97fps, mp4a.40.2
http-360p mp4 428x320 30fps
dash-akfire_interconnect_quic-video-1fae5093 mp4 640x480 DASH video 831k , mp4_dash container, avc1.64001F, mp4a.40.2 (48000Hz)
dash-fastly_skyfire-video-1fae5093 mp4 640x480 DASH video 831k , mp4_dash container, avc1.64001F, mp4a.40.2 (48000Hz)
hls-akfire_interconnect_quic-692 mp4 640x480 692k , avc1.64001F, 29.97fps, mp4a.40.2
hls-fastly_skyfire-692 mp4 640x480 692k , avc1.64001F, 29.97fps, mp4a.40.2
http-480p mp4 640x480 30fps
dash-akfire_interconnect_quic-video-6b5a4c2e mp4 720x540 DASH video 1355k , mp4_dash container, avc1.64001F, mp4a.40.2 (48000Hz)
dash-fastly_skyfire-video-6b5a4c2e mp4 720x540 DASH video 1355k , mp4_dash container, avc1.64001F, mp4a.40.2 (48000Hz)
hls-akfire_interconnect_quic-1221 mp4 720x540 1221k , avc1.64001F, 29.97fps, mp4a.40.2
hls-fastly_skyfire-1221 mp4 720x540 1221k , avc1.64001F, 29.97fps, mp4a.40.2
http-540p mp4 720x540 30fps (best)
$
Get the downstream project to update yt-dl.
Duplicate of #31311.
Is there a Container version of the "Git Master"? I'd love to avoid setting up all the dependencies myself. Will happily give this alternate a try if so.
Thanks
There aren't really any dependencies beyond the Python environment. Add a reasonably new ffmpeg and you're good to go, especially with a newer Python.
I ended up using MikeNye's docker as it seemed to have everything needed:
In case it helps anyone else, I dumped it all in a shell script that looks like the following:
#!/bin/bash
declare -a VIDEOS
VIDEOS=(113934772 113938782 113938787)
DOCKER="docker run \
--rm -i \
-e PGID=$(id -g) \
-e PUID=$(id -u) \
-v /Host/Output/Folder/:/workdir:rw \
mikenye/youtube-dl"
rm -rf temp.sh
for VID in "${VIDEOS[@]}"
do
CMD="${DOCKER} --referer 'https://videotextonline.com/' 'https://player.vimeo.com/video/${VID}?fun=0'"
echo ${CMD} >>temp.sh
done
chmod +x temp.sh
echo RUN THIS TO DOWNLOAD: ./temp.sh
The Videos array now only needs the ID of each Video to download The ECHO and temp.sh was because I couldn't get past some weirdness with the single and double quotes. Running it interactively would fail, but echo out to another script and then run that works fine.
Thanks for your guidance Dirk, it certainly led me down the right path. -Casper
PS: I only later discovered there is an option in YTDL to feed it an array/list of videos, so this might be the long way around, but it works for me and is Docker friendly.
Checklist
Verbose log
Description
Attempting to download my son's Algebra lessons hosted on Vimeo so we can watch them easier on the big screen. Same exact Syntax was used in October 2022 successfully, I even still have a shell script from then I used to batch the requests. Now I get the above error. I'm calling YTDL from inside a Material container because it was convenient, had it already. Updated that container to latest and as per last few lines of Verbose log above, it is indeed internally using YTDL 2021.12.17
Have verified the Vimeo plays fine when embedded on the Course website. Player looks to have slightly changed since last time.
F12 in Chrome from Course website shows the following in case it's helpful: (I see a bunch of "swarmify" stuff I don't recall seeing last time. I was always able to identify the correct Vimeo link before by looking for "fun=0"