代码vb .net的帮助 [英] help with code vb .net

查看:106
本文介绍了代码vb .net的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请提供任何帮助...我正在尝试将youtube视频下载并保存为Flash视频文件,但是我的代码无法正常工作...

这是我的代码:

Any help please... I am trying to download and save the youtube video as flash video file but my code doesn''t work.....

Here is my code:

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
     
My.Computer.Network.DownloadFile("http://www.youtube.com/v/gbPgKFRUD04?version=3", "C:\Users\Neo\Desktop\videofile.flv")

End Sub

End Class


视频文件只能以4 kb的速度下载,并且无法打开..

我希望有人能帮助我.
提前谢谢您.


下载管理器如何做到这一点...


The video file could only be downloaded at 4 kb and the file won''t open..

I hope someone could help me.
Thank you in advance.


How come download managers are able to do so...

推荐答案

Youtube不允许下载,因此您可能下载的页面是您无法下载此页面" "或无效的网址"之类的东西.基本上,您要尝试的将无法使用.
Youtube does not allow downloads so what you probably download is a page that says "you cannot download this page" or "invalid URL" or something. Basically, what you are trying is not going to work.


Youtube禁用了此小功能.您不再具有从YouTube下载视频的功能.
Youtube disabled this little functionality. You no longer have the ability to download video from YouTube.


这篇关于代码vb .net的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆