Developers › Choose Opera

Download your favorite YouTube videos with Opera

January 4, 2010 · by Espen André Øverdahl

Good news, everybody! You can now download your favorite YouTube videos with this simple User JavaScript made by Guille!

getVideo.js adds a small line at the bottom of your YouTube videos that allows you to download them in multiple formats! Guille promised to update with more video sites on request. :cool:

Download getVideo.js and give it a spin!

Readers' comments 50

Left under the original article, as archived; 1 page of comments could not be recovered.

  • dirkMonday, January 4, 2010 3:20:50 PM

    :cool:
  • TamilMonday, January 4, 2010 3:29:38 PM

    Or using Youtubian bookmarklet.
  • AdrianMonday, January 4, 2010 3:32:06 PM

    Could this be updated to work on trilulilu.ro (romanian youtube)
  • Espen André ØverdahlMonday, January 4, 2010 3:36:12 PM

    Originally posted by Tamil:

    Or using Youtubian bookmarklet.

    :up:
  • Murat YılmazMonday, January 4, 2010 3:38:46 PM

    how it's works?
  • MarkyMonday, January 4, 2010 3:40:07 PM

    How to install?
  • AlanMonday, January 4, 2010 3:40:28 PM

    Made by an argentinian of course! :smile:

    * Alan is proud
  • khalilzipMonday, January 4, 2010 3:49:35 PM

    how it's works?
    I Download getVideo.js But What Is The Next Step
  • Yair MohrMonday, January 4, 2010 4:01:17 PM

    Thank you, but unfortunately this script supports the video-download only on the old one-video view, while most YT videos nowadays tend to show in the Channel mode.
  • GislainMonday, January 4, 2010 4:04:06 PM

  • Jiří MudruňkaMonday, January 4, 2010 4:12:19 PM

    You have to create folder where you will save the script file. For example 'C:\scripts' then you have to move or copy just the script file into this folder (just the getVideo.js). Then start opera, open Tools -> Settings, choose content and open JavaScript setting, on the bottom of this menu there is a line fot folder with user's scripts, so enter the path to your foder with stript (in this case 'C:\scripts'). Then restart Opera and it should work.
  • Spadar ShutMonday, January 4, 2010 4:18:18 PM

    The best YouTube userJS i've seen is here http://userscripts.org/scripts/show/33042

    Download Link + Quality Selector + Rollover Preview + Media Controller + Media Resizer + More...
  • netwolfMonday, January 4, 2010 4:30:56 PM

    Providing it as a zip archive makes it impossible to be used with UJSmanager (and therefore pretty cumbersome...).
  • Charles SchlossMonday, January 4, 2010 4:31:27 PM

    :cool:
  • GuillermoMonday, January 4, 2010 4:43:41 PM

    Wow, I didn't expected this, I made that script a long time ago, I thought that nobody used, and I was sure it wasn't working anymore.

    Now that there are interest on it, I'll make an update on the next couple of days.
  • v-loveMonday, January 4, 2010 5:28:46 PM

    so wheres the good news?
    there's a ton of scripts like that on userscripts.org and elsewhere
  • nasanimatasya44Monday, January 4, 2010 5:29:13 PM

    Wow, I didn't expected this, I made that script a long time ago, I thought that nobody used, and I was sure it wasn't working anymore.
  • praetor87Monday, January 4, 2010 6:08:46 PM

    I've been using this stuff since 1893.
  • DanieleMonday, January 4, 2010 6:10:15 PM

    does it work also on other sites similar to youtube?
  • GuillermoMonday, January 4, 2010 6:49:25 PM

    Originally posted by darklink88:

    does it work also on other sites similar to youtube?



    Yes, that was the original idea, of course it doesn't work on every video site, I've tested it successfully on sites that uses the flv-player.
  • АртёмMonday, January 4, 2010 7:29:34 PM

    Thanx. But I prefer a SaveFrom.Net with their scripts.
  • dude09Monday, January 4, 2010 7:38:49 PM

  • Iñaki AbeteMonday, January 4, 2010 7:47:20 PM

    I think is better to listen the "DOMContentLoaded" event instead of "load" event, because is not necesary to wait the total load of the video (and all images) to see the download links.

    So, at line 36, replace:
    window.addEventListener('load', function(){
    


    with:
    document.addEventListener("DOMContentLoaded" function(){
    



    Please correct me if I'm wrong.
  • GuillermoMonday, January 4, 2010 8:23:08 PM

    Iñaki, thank you very much, I'll include this on the code.

    Is there any other video services that you think I should add support? I'll be working on this on a few hours and I want to add a couple of more sites
  • Iñaki AbeteMonday, January 4, 2010 8:34:36 PM

    I'm a fan of FAILblog and they host their videos on viddler.com, but it seems that there's no way to download videos from that site, so... :sad:
  • Mağruf ÇolakoğluMonday, January 4, 2010 9:28:43 PM

    Originally posted by Tamil:

    Or using Youtubian bookmarklet.


    I think the best one is this. :cheers:
  • Nyk EdingerMonday, January 4, 2010 10:30:02 PM

    Could someone maybe upload a screen shot because I cannot seem to find where it is on the YouTube page. Thanks!
  • hreyesMonday, January 4, 2010 11:43:25 PM

  • random414Tuesday, January 5, 2010 12:24:15 AM

    I wrote a small User JavaScript file using the Youtubian bookmarklet; the YouTubian User JavaScript - having a cool YouTube interface without clicking on a bookmarklet. :bigsmile:

    More info here: http://my.opera.com/random414/blog/2010/01/04/a-user-javascript-version-of-the-youtubian-bookmarklet
  • techlawsamTuesday, January 5, 2010 2:13:59 AM

    thanks man! Keep up the good work! :yes: :yes:
  • FreeBrainTuesday, January 5, 2010 4:11:06 AM

    I tried the random414 userjs that uses youtubian and it worked, but later I found out it messes up the photogalleries in FACEBOOK.

    Photos in facebook galleries are not loading ...PLEASE CONFIRM!
    I am using 10.5pre alpha latest snapshot

  • Bruce LawsonTuesday, January 5, 2010 8:44:28 AM

    Here's a nice introduction to installing this, or any other user JavaScript http://operawiki.info/UserJS#howto
  • walterTuesday, January 5, 2010 10:28:20 AM

    done :yes:
  • PieroTMRTuesday, January 5, 2010 12:08:08 PM

    Great! I have ventured to translate the text of the plugin in Italian, of course, leaving intact the claims and the plugin. To download the Italian version -> http://scratslair.netsons.org/2010/01/04/scaricare-video-da-youtube-direttamente-da-opera-browser/
  • random414Tuesday, January 5, 2010 12:09:19 PM

    Originally posted by FreeBrain:

    I tried the random414 userjs that uses youtubian and it worked, but later I found out it messes up the photogalleries in FACEBOOK.

    Photos in facebook galleries are not loading ...PLEASE CONFIRM!
    I am using 10.5pre alpha latest snapshot


    Thanks for trying it!

    I can't confirm; photos in Facebook galleries are loading fine for me in both Opera 10.10 and Opera 10.5.
  • FurkanTuesday, January 5, 2010 3:15:32 PM

    It appears in Dailymotion too, but don't download the video. White screen only.
  • tomasbTuesday, January 5, 2010 7:58:03 PM

  • GuillermoTuesday, January 5, 2010 9:06:08 PM

    New version: http://files.myopera.com/Guille/getVideo/getVideo_1.1.zip

    * Added dailymotion support
    * Added trilulilu.ro support
    * Included suggestion from Iñaki Abete on DOMContentLoaded



    I tried to add viddler support but failed, I think their player generates a hash from a var on the embed, but it doesn't seems to be md5
  • el_esponjosoWednesday, January 6, 2010 2:55:45 AM

    Hi Guille

    Excellent work with your script, I will use it for downloading some videos from youtube.

    Saludos desde Ecuador.
  • Charles SchlossWednesday, January 6, 2010 7:28:46 AM

    Originally posted by Guille:

    New version: http://files.myopera.com/Guille/getVideo/getVideo_1.1.zip

    * Added dailymotion support
    * Added trilulilu.ro support
    * Included suggestion from Iñaki Abete on DOMContentLoaded


    :up:
  • random414Wednesday, January 6, 2010 4:05:05 PM

    Originally posted by Guille:

    New version: http://files.myopera.com/Guille/getVideo/getVideo_1.1.zip

    * Added dailymotion support
    * Added trilulilu.ro support


    Great job, especially that you added TriluLilu.ro support! :headbang:

    Some feedback:
    * on YouTube.com the link for 'hq flv' download is shown even if you can't download the video in that format;
    * on DailyMotion.com the link for download is a bit overlapping the previous video link and the favorite button;
    * on TriluLilu.ro the link for download is a bit overlapping the rating button and the favorite button;
    * also on TriluLilu.ro the saved video file has a '.php' extension, instead of '.flv';
    * also on TriluLilu.ro if you go on an audio page or on an image page the 'Download this video as flv' text is still shown and the link doesn't work, instead of 'http://yyy.trilulilu.ro/stream.php?type=video&hash=yyy' the type should be changed to audio, respectively image; but doing this maybe it's a bit out of the scope of the project, is no longer getVideo, but rather getThemAll; :bigsmile:
    * and one last remark, in the getVideo.js file the version number is still 1.0 instead of 1.1.

    Once again, great job! :up:
  • normrubinWednesday, January 6, 2010 7:32:27 PM

    Maybe OT, but: Whenever I go to a normal full-screen YouTube video in Opera 10 (10.10), I get an error message "An error occurred. . ."

    In order to see YouTube videos, I usually do this work-around: I open a page with an embedded YouTube video (like the one introducing Opera Unite),
    I scroll to the end,
    I wait for it to finish and show me the search field,
    I insert some search terms to find the video I want,
    I select it, and
    I play it.

    That always works, though it's cumbersome and I think the screen is smaller.

    Will any of these scripts or add-ins solve that problem?

    Will they let me download videos that I can't just play in streaming video?

    Thanks,
    Norm

    P.S. I've tried several other browsers, and they all show YouTube videos properly. The problem is specific to Opera, and it's been around for several versions. (But I love Opera. . .)
  • Orontes H. SolísThursday, January 7, 2010 2:31:34 AM


    Its download speed is slow, but works very well and without complications. :coffee: It would be nice to include in the zip some instructions about script installation and where to place the mouse pointer for downloads. :idea: Thanks and congratulations, Guille, for this useful tool for Opera 10.10! :cheers:

    Su velocidad de descarga es algo lenta, pero funciona muy bien y sin complicaciones. :coffee: No estaría mal incluir en el comprimido las instrucciones de instalación y dónde debe colocar el puntero del mouse para las descargas. :idea: ¡Gracias y felicitaciones, Guille, por esta útil herramienta para Opera 10.10! :cheers:




  • netwolfThursday, January 7, 2010 8:32:13 AM

    Originally posted by DrakoDrakkonis:

    It would be nice to include in the zip some instructions about script installation and where to place the mouse pointer for downloads.


    IMO it shouldn't be provided as .zip, but as .js (what it is) so you don't have to manually extract etc.etc. but simply let UJS manager do the job of "installing" it.
  • Luminoteatral2Saturday, January 9, 2010 3:32:14 PM

    Good App, Thanks Guille.

    (Por fin voy a dejar de escarbar en el caché! :yes: )
  • maluminseTuesday, January 12, 2010 7:15:21 PM

    Woot thanks.

    Can this be tweaked to grab all vids? Some developer did one for ff which grabs all vids. I prefer O but when theres a hard to snag vid I open ff and use that plug in. LOL but I browse with O while finding those. Go O!
  • maluminseTuesday, January 12, 2010 7:38:15 PM

    Just dl it and installed as instructions in this thread (should be in the txt file..) Outstanding stuff!
  • FreeBrainSaturday, January 16, 2010 6:30:34 PM

    I think , my problem was that I had more than one userjs that did the same or a conflict with other userjs....
  • Mahesh JagadeesanMonday, January 18, 2010 9:16:57 PM

    Neat, I like it! :-)
  • maluminseThursday, January 21, 2010 3:36:15 AM

    Im so glad I commented. I couldnt find this again but some responded and I got the notification! sweet

About this article

Published inChoose Opera
DateJanuary 4, 2010
AuthorEspen André Øverdahl
Tagsyoutube, user javascript, opera
OriginalInternet Archive