youtube-dl usually easily detects which content and how to download it from
given URL. But if webpage contains embeded videos from Vimeo it might not work.
I’m not sure if this is an issue for any embeded video or just for restricted
ones. I needed to download some media from members-only area so I could watch
those on a plane but was struggling.
There is a workaround:
- Open “Network” tab on “Developers Tools” in a browser.
- Click video to play and pause it.
- New network request will appear wich contains
.json?base64_init=1in part of URL. This is the request we need.
- Modify URL to replace the mentioned part to
.mpd. For example:
youtube-dl <URL>to download video where
<URL>is modified URL.