Click here to Skip to main content
Click here to Skip to main content

Download all the Build Videos with RSS using Juice or PowerShell

, 24 Sep 2011
Rate this:
Please Sign up or sign in to vote.
A look at how to download all of the Build Videos using Juice or PowerShell

Introduction

The conference sessions are starting to appear on the Channel 9 RSS feeds right now. If you are like me, then you probably want to download all of them and watch them later. Here is the method that I use to grab all the videos and thought that it would help others.

Note: You can use either Juice or PowerShell (which is located at the bottom of this post).

Let’s do this with Juice.

Navigate over to http://channel9.msdn.com/Events/BUILD/BUILD2011/ and select the option to Subscribe to this event:

I wanted all Build2011 sessions in WMV with High quality (surprising… isn’t it).

That gives me this URL: http://channel9.msdn.com/Events/BUILD/BUILD2011/RSS/wmvhigh.

I can plus that into my browser and see the following:

But if you click on one of them, then it just takes you to the page:

I couldn't care less about this page as I only want the videos and I may not have an internet connection later on.

Let’s Solve This

Step 1- Download Juice and run the installer.

Step 2 – Once it is installed, then hit the Add Button.

Step 3 – Copy and Paste the URL of the feed you want to download.

Step 4 – That’s it. You are ready to start downloading. Please note that the files that have a 0.0 MB have not been added to the feed yet. Give it a day or so and it should appear.

If you really don’t want to install juice software, then you can use PowerShell.

Let’s Do This with PowerShell

The good news is that if you are using Windows 7 right now, then you already got PowerShell installed.

Go ahead and create a folder somewhere on your computer named: Build11. If you want to follow my example, then just put it on the root of C:.

Now open up your favorite text editor and copy/paste the following code:

cd "C:\build11" 
[Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath 
$a = ([xml](new-object net.webclient).downloadstring
	("http://channel9.msdn.com/Events/BUILD/BUILD2011/RSS/wmvhigh")) 
$a.rss.channel.item | foreach{  
    $url = New-Object System.Uri($_.enclosure.url) 
    $file = $url.Segments[-1] 
    $file 
    if (!(test-path $file)) 
    { 
        (New-Object System.Net.WebClient).DownloadFile($url, $file) 
    } 
}

Note: The PowerShell script code is taken from a post by Scott Hanselman and variations of it exist all over the web.

Go ahead and save the file as downloadall.ps1.

You should have a folder named build11 and one file in it named downloadall.ps1.

The only thing you will need to do now is go to a command prompt and type “powershell”.

Navigate over to the directory you created earlier. I created one called build11.

Once you have navigated over to it, do a “dir” to see the contents. If you see your downloadall.ps1 script, then you are good to go.

Enter the command ./downloadall.ps1.

If you are having trouble actually running that command, then refer to this post.

Give it a few minutes (depending on your internet connection) and the files should start appearing in your build11 folder.

Conclusion

I hope this guide cleared up some of the confusion that people had with downloading all of the videos. If you would like to read more about Build from my perspective, then check out the links below:

Thanks for reading!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

mbcrump
Software Developer (Senior) Telerik
United States United States
Michael Crump is a Silverlight MVP and MCPD that has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.
 
He has worked at Fortune 500 companies where he gained experience in embedded systems design and software development to systems administration and database programming, and everything in between.
 
His primary focus right now is developing healthcare software solutions using Microsoft .NET technologies. He prefers building infrastructure components, reusable shared libraries and helping companies define, develop and automate process standards and guidelines.
 
You can read his blog at: MichaelCrump.net or follow him on Twitter at @mbcrump.
Follow on   Twitter

Comments and Discussions

 
GeneralMy vote of 4 PinmemberCharles Oppermann26-Sep-11 7:00 
GeneralMy vote of 5 Pinmvp_ Kunal Chowdhury _24-Sep-11 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 24 Sep 2011
Article Copyright 2011 by mbcrump
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid