Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vidyard support #11338

Open
4 of 8 tasks
k4rtik opened this issue Dec 1, 2016 · 12 comments
Open
4 of 8 tasks

Add vidyard support #11338

k4rtik opened this issue Dec 1, 2016 · 12 comments
Labels
site-support-request Add extractor(s) for a new domain

Comments

@k4rtik
Copy link

k4rtik commented Dec 1, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.12.01

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Vidyard homepage: https://www.vidyard.com/

Edit: These all 404 now, see link in the comment below.

@yan12125 yan12125 added the site-support-request Add extractor(s) for a new domain label Dec 9, 2016
@mih-kopylov
Copy link

@lofidevops
Copy link

lofidevops commented Sep 11, 2020

Here is an example of an embedded vidyard video:

https://tidelift.com/subscription/webinar/watch/idc/thank-you (no longer available see more examples below)

Attempted download with version 2020.09.06:

[generic] thank-you: Requesting header
WARNING: Falling back on generic information extractor.
[generic] thank-you: Downloading webpage
[generic] thank-you: Extracting information
ERROR: Unsupported URL: https://tidelift.com/subscription/webinar/watch/idc/thank-you

@boschkundendienst
Copy link

boschkundendienst commented Jan 19, 2021

Another example, don't know how long it will be up:

https://em.barracuda.com/dc/kQ4nJk0QPyKZ4SUJ7_SxXt5LxMtfeeBvSLuLU1XILns8CEPhzxEdmypT2QgdyO0BZ01AtlyQVDnRh-S_bbbY8AW97JajKGaDYYVqx7MGKk7ZIIuNa_8vwImzCaexv8AP/U1mC0bC02K0BmI01sV000Oj

youtube-dl 'https://em.barracuda.com/dc/kQ4nJk0QPyKZ4SUJ7_SxXt5LxMtfeeBvSLuLU1XILns8CEPhzxEdmypT2QgdyO0BZ01AtlyQVDnRh-S_bbbY8AW97JajKGaDYYVqx7MGKk7ZIIuNa_8vwImzCaexv8AP/U1mC0bC02K0BmI01sV000Oj'
[generic] U1mC0bC02K0BmI01sV000Oj: Requesting header
WARNING: Falling back on generic information extractor.
[generic] U1mC0bC02K0BmI01sV000Oj: Downloading webpage
[generic] U1mC0bC02K0BmI01sV000Oj: Extracting information
ERROR: Unsupported URL: https://em.barracuda.com/dc/kQ4nJk0QPyKZ4SUJ7_SxXt5LxMtfeeBvSLuLU1XILns8CEPhzxEdmypT2QgdyO0BZ01AtlyQVDnRh-S_bbbY8AW97JajKGaDYYVqx7MGKk7ZIIuNa_8vwImzCaexv8AP/U1mC0bC02K0BmI01sV000Oj

youtube-dl --version
2021.01.16

@saviour123
Copy link

Since 2016, this issue is still opened? did anyone get a fix? I want to download this vid -https://play.vidyard.com/ZKXHwfjf1MtezrxwjKGs5h

@matiya
Copy link

matiya commented May 13, 2021

I can download from vidyard, but I believe there is an access control mechanism that checks the Referer HTTP header.

For instance:

youtube-dl "https://cdn.vidyard.com/hls-videos/wYIcVOmXXMuf1hAslXUlOw/stream_master_6u7VYEhHHbx5aZtD4wGGrQ.m3u8" --add-header "Referer: https://play.vidyard.com/"

@saviour123
Copy link

youtube-dl https://play.vidyard.com/ZKXHwfjf1MtezrxwjKGs5h --add-header "Referer: https://play.vidyard.com/"

@matiya this is not working for me

@matiya
Copy link

matiya commented May 13, 2021

For that video, the following should work:

youtube-dl "https://cdn.vidyard.com/hls-videos/ArwxsclFb9I2YAILazF3LA/sd_segmented/sd_segmented_zXn2vRofmYWaDPMN46AfNA.m3u8" --add-header "Referer: https://play.vidyard.com"

I'm not an expert, but I think the .m3u8 is a playlist and in order to get it, you can open the network connections in the developer tools of the browser.

I believe youtube-dl could automate this.

@johnnyxmas
Copy link

Yep; all youtube-dl needs to do is find the stream_master URL (i.e. https://cdn.vidyard.com/hls-videos/fWSBwUuZPHpnh3HhjgXzFg/stream_master_5ZbxuIQGkGsDiBvSQ11C-Q.m3u8?BMvc0VjC4BMUKTj2kp0sz-7Tva-ygg0y7o0M1bNkWHCAlnjxRXi-uIaLfF7OCXSB0viEpLnWYajbdHVIvHLsdGJMldvdLGjH10hURA20YLMFbpWpjOvHL_MUl5-e8KDeq6RxHBt56ZJiDwED78K6wja50vizr5wBPV6c6sB58lFlvCODqmimPaFC6QgAQSHX9AWC) then add the referrer (--add-header "Referer: https://play.vidyard.com") and it should always work. Just confirmed with several URLs:

Screen Shot 2022-01-11 at 3 47 57 PM

Screen Shot 2022-01-11 at 3 48 18 PM

.

@jnahmias
Copy link

jnahmias commented Dec 6, 2022

Here's another url: https://play.vidyard.com/urAKCbwcLunhRfGdnQt2rT.html
The command-line that worked for me:

youtube-dl 'https://cdn.vidyard.com/media/hls/mHt17oCX28b7JMxgtAtYBA/,full_hd,hd,480p,sd,.mp4.urlset/index-f2-v1-a1.m3u8' --add-header "Referer: https://play.vidyard.com/urAKCbwcLunhRfGdnQt2rT.html"

@stanislavkozlovski
Copy link

Ditto. The way to do it seems to be to access the video playback from DevTools (Chrome) and see what URL the network is sending requests for segment-{NUMBER}. Then you replace it in the download section as @jnahmias showed - the unique ID that's in the network goes to the first url, and the original .html ID goes as the referrer

@basaran
Copy link

basaran commented Jul 4, 2023

Searching for master.m3u8 in devtools worked fine. You can observe the headers needed there. Just the referer was sufficient for me.

@jnahmias
Copy link

jnahmias commented Jul 4, 2023

actually, it's much easier to get the URL from the vidyard JSON. For example, using curl and jq:

$ curl --silent --show-error --fail https://play.vidyard.com/player/urAKCbwcLunhRfGdnQt2rT.json | jq -r '.payload.chapters[0].sources.mp4[] | select(.profile == "1080p") | .url'
https://cdn.vidyard.com/videos/mHt17oCX28b7JMxgtAtYBA/full_hd.mp4?WacwzqupUNYvK0u-RpqrcdDCnv6gMO-LW8uWAI3bHLpHfksSB_jpJakZfu7R2FZxRU_C6xnSAuMhoMvO_NoE4g4280IX28KUjifG9xn6oBrTdX-n1fTyhFV69hywKbQsxZJ8uF_1QgjNkLhKtqEz4Nw

Note: you may need to change 1080p to 720p or another resolution, if the higher ones aren't available.

Then you just download that URL with an appropriate referrer:

$ curl --head --referer https://play.vidyard.com/ https://cdn.vidyard.com/videos/mHt17oCX28b7JMxgtAtYBA/full_hd.mp4?WacwzqupUNYvK0u-RpqrcdDCnv6gMO-LW8uWAI3bHLpHfksSB_jpJakZfu7R2FZxRU_C6xnSAuMhoMvO_NoE4g4280IX28KUjifG9xn6oBrTdX-n1fTyhFV69hywKbQsxZJ8uF_1QgjNkLhKtqEz4Nw
HTTP/2 200 
content-type: video/mp4
content-length: 1558179927
x-amz-id-2: iz0w+n6ZLpMjJIKoKldpyPq7HBDeYSa1WyQj/EUyq7HCvZNTxTsP16Uq0AbpEb2ZAaw26ChwNU4=
x-amz-request-id: 6EBDV6Y54JR5C90R
date: Tue, 04 Jul 2023 21:14:18 GMT
last-modified: Fri, 23 Jul 2021 20:31:32 GMT
etag: "e995e2345abc4224649e7f830768fa98-298"
x-amz-storage-class: GLACIER_IR
x-amz-server-side-encryption: AES256
content-disposition: attachment
x-amz-version-id: WFrigakfilZPROrqupngELRYA8H9.Iau
accept-ranges: bytes
server: AmazonS3
x-cache: Miss from cloudfront
via: 1.1 957a0e737a088bdc07cb5cc9dcc9e826.cloudfront.net (CloudFront)
x-amz-cf-pop: EWR53-P1
x-amz-cf-id: D25vNCPQsiXUWCI2NXgXteK2wEpGch_FybYxKLRsJE2uZo0cVqVLsg==
x-cdn: cloudfront
vary: Origin

Note: remove the --head to actually download the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

No branches or pull requests