开发者

How to download iframe video with C#

开发者 https://www.devze.com 2023-02-05 07:54 出处:网络
for example how can i download this kind of url video <iframe src=\"/neo/stats/dlcount_iframe.php?movi开发者_运维技巧e_id=708969&game_id=12830&type=flv&page=player&vidtype=flv&

for example how can i download this kind of url video

<iframe src="/neo/stats/dlcount_iframe.php?movi开发者_运维技巧e_id=708969&game_id=12830&type=flv&page=player&vidtype=flv&vidhd=1" width="1" height="1" scrolling="no" frameborder="0"></iframe>

using microsoft visual studio 2010 C# netframework 4.0


You don't. They use streaming to prevent downloading of material. if they wanted you do download your own copy, they'd provide it as an MPEG. .mov, .wmv, or some other type of file.

Even if you can, you'd be violating copyright laws. Like I said, if they WANTED you do do it, they'd provide a method. Any use of the video other than what the owner intends for it is a violation of copyright, even if the Internet makes copyright infringement easy in most cases.

Edit

Downloading a file is very straightforward. There's an article here: http://www.csharp-examples.net/download-files/

and an example with specifyng the name on your PC here: http://msdn.microsoft.com/en-us/library/ez801hhe.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消