Results 1 to 8 of 8
  1. #1
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108

    [Help]Youtube Download

    Code:
         Try
                My.Computer.Network.DownloadFile("https://www.youtube.com/get_video?video_id=u98lYTUB6PY&t=vjVQa1PpcFPeQnHdJ-PNP88lxlg9pGt9fq1qMf4PjnU=" & "&fmt=18", "C:\YouTubeVideo.mp4")
    
            Catch ex As Exception
                MsgBox(ErrorToString)
            End Try
    This is my code. It does create the .mp4 file but it's length stays at 0.

    When trying to BROWSE the link with a webbrowser it does work.

    I have searched for the download code and found this:

    Code:
    ytd.formats[18].url = "https://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=18"
    I did that...=/

    Any idea????



  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I'm not 100% sure, but I think with all the new changes, you need the Api to access the real Url, which is different then the displayed url.

    But Again, I am not sure, I put googletube API documentation somewhere here.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. #3
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Hmmm damnit =/

    Do you know a site containing youtube api tutorials & examples? Not just the api as download ^.-



  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I create a SOAP tutorial, and reference API.

    It's really straight forward, once you add the api and import the functions , it's
    simple, it will be .Download .Play .Video etc. etc. (or something like that)
    .URL

    Google Developers should have some documentation .


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. #5
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Okay. I did found your api tutorial and your reference.

    However, are there any CODE examples not just a block of text describing what it is able to do ?



  6. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I knew there was extensive documentation in Google Code (developers) section

    Developer's Guide: .NET - YouTube APIs and Tools - Google Code


     


     


     



    The Most complete application MPGH will ever offer - 68%




  7. The Following User Says Thank You to NextGen1 For This Useful Post:

    Blubb1337 (04-18-2010)

  8. #7
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Is there a possibility to display the code as vb code instead of c sharp code? Not by converting it?

    T Y V M, for now!!!



  9. #8
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I will see if they have vb.net specific documentation, but in either case, it should convert well


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Help Request] Help to download minecraft
    By 2dimond in forum Minecraft Help
    Replies: 2
    Last Post: 05-16-2011, 12:44 AM
  2. Help me!!!!! DOWNLOAD FULL VERSION !!
    By athenna123 in forum Gunz General
    Replies: 2
    Last Post: 03-15-2009, 12:00 PM
  3. Come if u can help me download injec-tor for free :D
    By dead_boy_13 in forum Gunz General
    Replies: 0
    Last Post: 09-28-2007, 09:47 PM
  4. Help wth downloading
    By andrewyeh in forum WarRock Korea Hacks
    Replies: 0
    Last Post: 05-13-2007, 04:47 AM
  5. [Help] Cant Download
    By Stefanlg14 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 04-17-2007, 07:25 PM