The YouTube Video Downloader Gets an Upgrade

youtube_logo.jpgThe YouTube Video Downloader we have here has been a love hate relationship.  It works for a bit and then it breaks.  And then I fix it.  It works again and then it breaks.  Over and over again.

Anyway, someone dropped me an email a few days ago letting me know that it was broken again.  It took a bit but it’s working yet again. Went almost 9 months on the last fix.  I wonder how long this one will last.  It appears to now be tagging the download link to the requesting IP address. (And yes, that’s all the details I’m giving out on that.)

The cool thing I’ve discovered is with YouTube now doing video in what they call high quality, the links for those videos are different.  I was able to work out the different URLs and how they were coded so now things are a bit different over on the YouTube download site.  You can still download from YouTube in *.flv format but you can also download from YouTube in *.mp4 file format as well as download from YouTube in *.mp4 High Definition.

Yes, I still have to write out some instructions.  I’ll hopefully get to it this weekend.  I really want to redo the whole site as that orange and whatever color those lines are doesn’t do it for me.

Oh and I fixed the file naming issue.  You no longer have to worry about making sure the file extension is correct.  Videos will now download with the correct *.flv and *.mp4 file extension.  The rest of the filename will have to be changed though as they’ll all be called “video.*”

Any problems?  Please feel free to leave a comment here.

19 thoughts on “The YouTube Video Downloader Gets an Upgrade

  1. Hey, thanks for that. I use that downloader nearly every day. I was sorry to see it broken. I like being able to download now as mp4s. I don;t have to convert any more. Thanks. 🙂

  2. The YouTube Video Downloader Gets an Upgrade, Part 2

    Following up on the YouTube Downloader upgrade from a couple of days ago and per a couple of requests, I;ve added a method to download YouTube videos as *.3gp files.  Those are video files for your mobile phone.  Or…

  3. Remove index.html and index.php from your URLs

    In additional to having a love hate relationship with my Youtube Video Downloader, I also have a love hate relationship with the statistics that I see on this site.  While I don’t use the index.html bit in the urls within…

  4. I’ve never heard of one of these and always wondered how to get a great Youtube file. Thanks! I’ll try it out. One question: I’ve never heard of a .flv file. What type of media player recognizes these?

  5. kray, thanks for the comment. *.flv files are what’s known as flash video files. When you visit a site like youtube, that;s actually the file type that is playing in your browser. For the longest time, that’s all you could get out of youtube but with their recent updates, you can now grab normal *.mp4’s which is what I recommend. *.mp4s are pretty much standard and will play in most players.
    I play *.flv’s in Winamp. They should play as a default in newer versions of Winamp with a small fix. Older versions will require you to jump through hoops. You can find instructions here:
    http://forums.winamp.com/showthread.php?postid=2491974
    There are many *.flv players on the net though. For WinXP, which is what I have on the laptop, there’s a stand alone flv player called FLV Player and you can grab it from here:
    http://download.cnet.com/FLV-Player/3000-13632_4-10467081.html
    If you;re on a Mac or another OS, a quick google should pull up suggested players.
    Hope this helps and thanks again for the comment,
    -drmike

  6. Hello,
    Wanted to say thanks for the downloader: I used it for a presentation @ work and it was a rave.
    Now the pb is, several people asked me to do similar things for them, but now it’s broken, and they all think I’m not doing it not to let them share the glory!? @-:
    Please o please ….
    and thanks again for it, whether it works or not

  7. Easy fix. Should work fine. May not work if your video if marked as mature as your example is but it works for the couple test ones I did.
    Thanks again for letting me know about the issue.
    -drmike

  8. That was a fast response! Thanks. Unfortunately, it’s still not working.
    If it worked with the couple of test files you downloaded, why not with this one? I presume you tried it on the file I’m having a problem with?
    Irrespective of whether the file is downloaded as an flv or mp4, the downloaded file is 0 bytes.
    Kind regards.

  9. The video link you used is marked as mature which means you have to be logged in to view the video. Since there’s no way for the script to login, it can’t access it. I believe you can’t embed it either. Videos marked as not being embeddable can’t be downloaded either.
    At least that’s been are experience. I’ve gotten five or six emails about the star trek videos up there. Since they can’t be embedded elsewhere, you can’t download them.

  10. Ok, I understand.
    Is the script able to detect such pages? If so, when it encounters them, would it be able to throw up an input box asking for login and password?

  11. Haven’t figured out a way yet although I’ve never sat down and worked that bit out. To be honest, I’ve been debating on Open Sourcing the script and trying to get folks to help out with it. Having the input of more folks will decrease down time when Youtube upgrades their script and maybe we can add some features as well. Would love to things like last 10 videos downloaded, most downloaded and the like.
    Thanks again for the comment,
    -drmike

  12. Hi Dr Mike~
    I have used your youtube downloader to down load a video of my own off youtube that has been deleted off my computer. I downloaded it, it then opened by playing on my Quik time player. Now I cannot find the the file or video I downloaded from youtube. HELP HELP! Please.
    Jenny

  13. Hi Dr. Mike,
    I am really confused as to what this downloader is designed to do… I am wanting to find something which will allow me to embed a video which I uploaded to YouTube into a school-based blog. I want to do this so that I am able to play the video from the blog without those “recommended videos” showing up at the end as well as so that I am able to get a better quality than my blog hosting sight will allow me to upload. Should I be used this downloader? If so, how do I go about doing it?
    Thanks so much for your time,
    Shannon

  14. It seems, as of late 2010, that the downloader no longer works: at least, all the songs I have tried recently produce a file called “get_video” that contains some HTML indicating a “404 not found” error:
    <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /&lt;br /&gt;&lt;b&gt;Warning&lt;/b&gt;: file_get_contents(http://youtube.com/get_video was not found on this server.</p>
    <p>Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request.</p>
    <hr>
    <address>Apache Server at youtube.tdjc.be Port 80</address>
    </body></html>

  15. Yup, I know. Youtube did something funky with the permissions and tied them into the downloaders IP address. I haven’t figured out how to modify the code to adjust for it. I can do it locally and manually but I haven’t figured out how to write to code for it. Working on it though.
    I’ve found the code to do it elsewhere but it’s a paid script and I have to admit that what I earn on this site doesn’t come close to covering the cost of the script. Sorry, being honest. I can copy the code from another site that has the code and modify it so that I did purchase it but gotta admit I’m a bit too ethical to do that.
    Hoping to find some time during the holidays to look at it.
    Thanks for the comment and letting me know that there’s a problem with the site.

Leave a Reply to abe Cancel reply

Your email address will not be published. Required fields are marked *