Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock
Download videos from youtube using winsock Download videos from youtube using winsock
Download videos from youtube using winsock
Go Back  Xtreme Visual Basic Talk > > > Download videos from youtube using winsock


Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2009, 06:46 AM
jason8100 jason8100 is offline
Newcomer
 
Join Date: Nov 2009
Posts: 2
Question Download videos from youtube using winsock


Hi I am trying to make a youtube downer but am stuck at the download code.
I already searched google and couldn't find anything.

1. is it possible to download videos from youtube using winsock? or with any other component.
2. How do i download it and save it as an .fvl file?

thanks in advance, jason
Reply With Quote
  #2  
Old 11-19-2009, 08:48 AM
PoopMongolThing PoopMongolThing is offline
Newcomer
 
Join Date: Apr 2009
Posts: 14
Default

Well, you need to have the full URL to the .flv file, then use a download code to get the file. This is a code for use with the "Internet Transfer Control", not WinSock.

Code:
Public Sub ConnectDL(FPath As String, TPath As String)
Dim data() As Byte
Dim ff As Integer


'FPath is the online path
'TPath is the local path(the one to save to)

    DoEvents
    
    
    data() = Inet1.OpenURL(FPath, icByteArray) 'Download the file

    ff = FreeFile 'Find a free file number
    Open TPath For Binary Access Write As #ff 'Open TPath with the free file number
    Put #fff, , data() 'Put the data in the file
    Close #ff 'Close the file

MsgBox "Done", vbInformation, "Status" 'Notify the user

'Done
End Sub
Not sure, but I thought the file size is limited though.
Reply With Quote
  #3  
Old 11-20-2009, 08:00 AM
jason8100 jason8100 is offline
Newcomer
 
Join Date: Nov 2009
Posts: 2
Talking Thanks

I am at school right now but I will try it later.
Thanks for your help
Reply With Quote
Reply

Tags
download, flv, videos, winsock, youtube


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock Download videos from youtube using winsock
Download videos from youtube using winsock
Download videos from youtube using winsock
 
Download videos from youtube using winsock
Download videos from youtube using winsock
 
-->