Share via


C# Code to Download Embedded Videos of any Website

Question

Monday, June 13, 2016 7:23 AM

Is there C# code or C# keywords to use them to download embedded videos of any website ?

All replies (2)

Monday, June 13, 2016 8:36 AM âś…Answered

Hi,

you could create a screen scraper and make use of the classes and methods in the System.Net namespace for that. For example: https://msdn.microsoft.com/en-us/library/system.net.webclient.downloadfile(v=vs.110).aspx. That's what I used for such a thing in the past.

However make sure you have the right to do so as many videos might be copyrighted.

Grz, Kris.


Tuesday, June 14, 2016 7:50 AM

Hi kareemva,

You can refer the following sample application that manages multiple segmented downloads and supports HTTP, FTP and YouTube video downloads.

MyDownloader: A Multi-thread C# Segmented Download Manager:

http://www.codeproject.com/Articles/21053/MyDownloader-A-Multi-thread-C-Segmented-Download-M

Best Regards,

Yohann Lu