Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Microsoft videos (eg on mybuild.microsoft.com) failing #25363
Comments
|
I considered building this, but ultimately gave up and downloaded the videos I was interested in semi-manually. Here's some notes, in case anyone wants to pick this up: First of all, I discovered that 404 as well when I started implementing this... super weird! Some videos are available on https://channel9.msdn.com/Events/Build/2020 and there's an official download link there. Mostly the ones with On Channel9, this seems to be a new "subsystem", as the existing Channel9 extractor of youtube-dl doesn't work on those videos. I looked into that a little bit, and preliminarily called this new system 'Medius', as that seems to be a term that pops up again and again. Both there and on I downloaded those videos by opening the dev tools, then loading the session page (i.e. the 404ing page you linked above), and on the Network tab, setting a filter for Dropping that URL into youtube-dl gives you a perfectly working video file. Just without meta data of course, as it is using the generic extractor. One last problem is that the download is super slow! It shows a high download bandwidth, but also calculates hours of total downloading time. I came to the conclusion that this is probably some kind of rate limiting I'm hitting there (even though Chrome doesn't appear to be affected by it). Further analysis showed that I'm often getting around 42.1-42.2s (yes, that precisely!) of response time when requesting e.g. https://amsmediusw-ak.studios.ms/. That leads to many hours of download time with youtube-dl, as those 42s are affecting every single one of the hundreds of DASH fragments it needs to request. The workaround is weird, but reliable: set a timeout! Any timeout, it doesn't matter, the timeout isn't actually hit. Just setting a timeout makes the response time go down to way under 1s. In summary, you can download your video with the following command:
|
|
wow! that's some intense sleuthing. and yup, that process worked for the other video i wanted to download. thank you! |
Checklist
Verbose log
Description
Hi all! Just FYI, videos on https://mybuild.microsoft.com/ are unhappy right now. Example URL: https://mybuild.microsoft.com/sessions/be9d4903-dc15-4704-8436-01a4b3273443
Odd problem. These URLs evidently return HTTP 404, not 200, but they serve valid HTML and assets, so browsers render them ok. and the contained videos play fine.
example screenshot of browser dev tools showing the 404 response and page loaded and rendered ok:
but curl 404s on both HEAD and GET. such an odd setup by MS.