Every once in a while, I get either the urge or an email begging me to Open Source the Download from YouTube script. The idea of doing so has been in the back of my mind for quite some time although managing yet another project isn’t on the top of my list. (Anyone remember that Supermarket script I wrote a few year back?)
The idea of doing so was raised in a pair of emails this morning that showed up in my inbox. One of them basically consisted of “PLZ!!!! U SEND ME YOUTUBE SCRITP? ME WANT NOW!!!!!” That really makes me want to do it.
A couple of years ago, I got offered $500 for both the site and the domain. Silly me turned them down as I kind of liked the idea of having something of my own to work on. I had plans for the domain as well.
One of the problems with releasing the code is the question of licensing of the actual code. The original code that I downloaded many years ago didn’t include any licensing with the file. I’ve tried to contact the original author on a number of occasions, both with questions about the licensing as well as fixes for the code. Since the code file that is still available still consists of the original code that no longer works and the developer has never replied, I don’t think he’s too interested in the project any more.
The code is a mess though. I’ve built onto the original download with my own code and there’s a lot of hacks in there. Doing a complete from the ground up rewrite would probably be best. Get around any licensing issues as well.
I have to admit that I’ve had a bunch of additions I’ve always wanted to add on to it. A thumbnail of the video would be great. (The Download Videos from Dailymotion site has this.) Stats like the last ten videos downloaded or what’s popular would also be a plus. Stuff like that I’ve wanted to add in would be great. Actually having instructions would also be a plus.
Anyone care to weigh in? (Hopefully with an intelligent response?)
Long story why I haven’t been around much. I’ll discuss it another day.
This video came across Twitter a few days ago. I have to admit that I was a fairly big Magnum, P.I. fan growing up. Whoever did this put a fair amount of time into pasting up the video and matching it to the original opening credits of that show.
You can watch Harrison Ford (aka Han Solo) play a decent Tom Selleck (otherwise known as Thomas Magnum) after the fold.
And remember, you can download the video on the YouTube Downloader (Yes, it works again. Sorry about that.) as an *.mp4 file. It’s supposed to be available as an HD *.mp4 file but I can’t get the link to work right. Maybe it’ll work for you.
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.)
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.
Had a bit of a morning challenge from one of my clients on doing a bit of a hack on the WP-ExtremeVideo
plugin we use over in my hosting. He wanted to have a link provided
where you can download the YouTube Video as well as view it. A two
second Google search found a form based YouTube downloader that I stuck
Unfortunately, it had no method of passing on the URL of the video in
question to the form. You still had to copy and paste it.
That’s what I got to do this morning.
Unfortunetly since we can’t edit the viewer over at WordPress.com, I
needed to provide a fix for those folks. If you want to use this on
your own blogs, you have to manually provide a link. Here’s how:
Take the URL of the video. For example this one:
See that bit after the question mark? All you need to do is copy and paste everything from that on to the following URL:
Note a space has been added after the colon for those links so you
can see what is occurring. You do need to remove them to get them to
work of course.
One minor bug. It appears that you might have to hit enter to get it to pick up on the input.
I’ll work on adding this to the Video Player later this afternoon.
Now in there. You’ll note a link along the top right where the link yo
the video on You Tube is. I published the changed code here if you want to use it yourself.
I found the source code for the YouTube downloader that I mentioned before so I stuck it up on the website. YouTube Video Downloader
Just give it the URL of the video you want, click on the “Get Download URL” link and shortly after that, it will produce another URL which will allow you to download the video to your desktop. 🙂
edit: I’ll add something to the Video Player we’re using here to make a link go to it or something later on.
A long while back, I posted a method of downloading YouTube videos and saving them to your desktop. Since then, the method
has been updated and it looks like YouTube is making part of the number
session dependent which means that it changes every time you view it.
Lots of fun.
In the comment section of the new post is also a link
to where you can type in the URL of the video you want and it will be
automatically downloaded for you. Unfortunetly, I’m on a locked down
terminal today so I can’t try it myself. Hopefully someone will report
back on it.