Jump to content

I made a userscript that adds a download link for Vessel videos

Morath
Get it from OpenUserJS or Greasy Fork.

 

All the code does is lookup the videos source url, and add a link next to the video title.

 

There's a 5 second (5000 ms) delay at startup, the script won't work until the video is loaded. You may need to change this value depending on the speed of your internet connection.

 

For PCs simply Right Click or Command Click the Download Video link, and choose "Save link as..." option. On compatible mobile device browsers, you just have to Long Press, and choose "Save video". This also allows you to stream it to your Chromecast.



$( document ).ready(function() {
setTimeout(download_video, 5000);
});

function download_video(){
var video_url = $('#gator-video--1_html5_api').attr('src');
var download = document.createElement('a');

download.setAttribute( 'id', 'get_vid_link' );
download.setAttribute( 'style', 'color: #0097ee;' );
download.href = video_url;
download.target = '_blank';
download.innerHTML = 'Download Video';

$( '.font-mscon500' ).eq(0).append( ' ', download );
}

Edited by Morath
Link to comment
Share on other sites

Link to post
Share on other sites

?

Good job, but I've never had a problem fetching vessel videos with traditional downloading plugins or just digging for the video by hand 

muh specs 

Gaming and HTPC (reparations)- ASUS 1080, MSI X99A SLI Plus, 5820k- 4.5GHz @ 1.25v, asetek based 360mm AIO, RM 1000x, 16GB memory, 750D with front USB 2.0 replaced with 3.0  ports, 2 250GB 850 EVOs in Raid 0 (why not, only has games on it), some hard drives

Screens- Acer preditor XB241H (1080p, 144Hz Gsync), LG 1080p ultrawide, (all mounted) directly wired to TV in other room

Stuff- k70 with reds, steel series rival, g13, full desk covering mouse mat

All parts black

Workstation(desk)- 3770k, 970 reference, 16GB of some crucial memory, a motherboard of some kind I don't remember, Micomsoft SC-512N1-L/DVI, CM Storm Trooper (It's got a handle, can you handle that?), 240mm Asetek based AIO, Crucial M550 256GB (upgrade soon), some hard drives, disc drives, and hot swap bays

Screens- 3  ASUS VN248H-P IPS 1080p screens mounted on a stand, some old tv on the wall above it. 

Stuff- Epicgear defiant (solderless swappable switches), g600, moutned mic and other stuff. 

Laptop docking area- 2 1440p korean monitors mounted, one AHVA matte, one samsung PLS gloss (very annoying, yes). Trashy Razer blackwidow chroma...I mean like the J key doesn't click anymore. I got a model M i use on it to, but its time for a new keyboard. Some edgy Utechsmart mouse similar to g600. Hooked to laptop dock for both of my dell precision laptops. (not only docking area)

Shelf- i7-2600 non-k (has vt-d), 380t, some ASUS sandy itx board, intel quad nic. Currently hosts shared files, setting up as pfsense box in VM. Also acts as spare gaming PC with a 580 or whatever someone brings. Hooked into laptop dock area via usb switch

Link to comment
Share on other sites

Link to post
Share on other sites

?

Good job, but I've never had a problem fetching vessel videos with traditional downloading plugins or just digging for the video by hand 

 

This is more for those who prefer not to constantly dig through the HTML by hand...and for simple Chromecast support.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×