YouTube Links

Download YouTube videos. Video formats are listed at the top of the watch page. Video links are tagged so that they can be downloaded easily.

< Feedback on YouTube Links

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2015-06-24

good job, but plz....

defaul file name is "videoplayback", can be youtube video name?

nhyoneئاپتور
§
يوللانغان ۋاقتى: 2015-06-30

If you use Firefox, you are out of luck.

But if you are using Chrome, based on your post, the correct filename will be used if you right-click and save-as.

I don't know why a direct click uses the default filename.

§
يوللانغان ۋاقتى: 2015-09-05
تەھرىرلەنگەن ۋاقتى: 2015-09-05

For me , it only happens when i download m4a audio files.
If this can help you fix this out

nhyoneئاپتور
§
يوللانغان ۋاقتى: 2015-09-25

Use Chrome, right-click and save-as. :-)

Firefox does not honor the filename if the file is from another website. For YouTube, the videos are served from "some other" website.

§
يوللانغان ۋاقتى: 2016-04-16
تەھرىرلەنگەن ۋاقتى: 2016-04-16

3rd part:

After some more research i found this: https://developer.mozilla.org/en/docs/Web/HTML/Element/a Since i have 'official' proof now i guess nhyone was right all along :(


2nd part:

hmm - after taking a look in the sourcecode of a modified youtube page is see you'r already using the download="filename" tag. Maybe the order throws firefox off...


1st part:

i think it sould be possible to do sth. like this: < a href="https://r6---sn-0oputhxqp5-q0nl.googlevideo.com/videoplayback?dur=..&signature=...." download="yt-video-name.m4a" > ..... < / a > (from http://www.w3schools.com/tags/attadownload.asp )

Unfortunately i don't understand enough JavaScript to modify your script myself.

§
يوللانغان ۋاقتى: 2016-05-06

I'm lazy and do not want to mark the title below a YouTube video manually by mouse to copy it into the clipboard (ctrl+c). At least it should be possible to mark the whole title with a double click. Unfortunately YT places a leading and a trailing newline around the title. So when i paste it into do save-to-dialog i get an empty string :(

That's why i added this small modification to your script: s.push(dom.emitHtml("div", { "class": CSS_PREFIX + "Limers_mod" }, cnvSafeFname(map.title))); At the end of the Links.prototype.emitLinks = function(map) - it's probably not the right location and the CSS class is definitely wrong ;) but it works for me...

I think other Firefox users might benefit from this as well.

§
يوللانغان ۋاقتى: 2016-05-06
تەھرىرلەنگەن ۋاقتى: 2016-05-06

not rely related to the script but very helpful for FiFo users: re-enabling alt+click functionality for "save link as" No need to navigate through the right-mouse-click-menu

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.