The cURL copy from Chrome developer tools filtered entry in the inspect network activity will provide this kind of string:
curl 'https://source-of-video.net/folder/manifest.mpd' \
-H 'authority: source-of-video.net' \
-H 'pragma: no-cache' \
-H 'cache-control: no-cache' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36' \
-H 'dnt: 1' \
-H 'accept: */*' \
-H 'origin: https://origin-website-of-video' \
-H 'sec-fetch-site: cross-site' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-dest: empty' \
-H 'referer: https://origin-website-of-video/origin.html' \
-H 'accept-language: en-US,en;q=0.9,es;q=0.8,it;q=0.7,pt;q=0.6' \
--compressed
Just replacing -H
with --add-header
and curl
with youtube-dl
and deleting --compressed
will do the trick, ending up like this (headers are only examples):
youtube-dl 'https://source-of-video.net/folder/manifest.mpd' \
--add-header 'authority: source-of-video.net' \
--add-header 'pragma: no-cache' \
--add-header 'cache-control: no-cache' \
--add-header 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36' \
--add-header 'dnt: 1' \
--add-header 'accept: */*' \
--add-header 'origin: https://origin-website-of-video' \
--add-header 'sec-fetch-site: cross-site' \
--add-header 'sec-fetch-mode: cors' \
--add-header 'sec-fetch-dest: empty' \
--add-header 'referer: https://origin-website-of-video/origin.html' \
--add-header 'accept-language: en-US,en;q=0.9,es;q=0.8,it;q=0.7,pt;q=0.6' \