[RESOLVED]Youtube chunks & encodes videos to avoid downloads
-
- Posts: 1
- Joined: Fri Jun 21, 2013 11:19 am
[RESOLVED]Youtube chunks & encodes videos to avoid downloads
For videos like this youtube is sending chunks to the player with range parameters encoded in the URL. I found a tutorial at http: code.google.com/p/youtubesniffer/wiki/Tut1UsingNetworkSniffer to download them and it works. If only it was more automated in a button rather than some manual tedious typing...
Oh yeah, antispam filters, nice, even for registered users...
Ooops, something in your posting triggered my antispam filter...
Please use the "Back" button to modify your content and retry.
Are you tired of "saving as..." one by one all those movies, music files, pictures, programs and so on? Are you sick of getting them sooo slowly? Are you afraid of losing them in the middle of download if you get disconnected or close your browser, being forced to repeat all that tedious work?
Well, you need a download manager...
But... Aaaargh!!! my download manager doesn't work with Firefox! They say it does, but where is my Download All menu? How can I handle the tons of mp3, mpeg, jpg files that I want to download?
Well, you definitely need...
Oh yeah, antispam filters, nice, even for registered users...
Ooops, something in your posting triggered my antispam filter...
Please use the "Back" button to modify your content and retry.
Are you tired of "saving as..." one by one all those movies, music files, pictures, programs and so on? Are you sick of getting them sooo slowly? Are you afraid of losing them in the middle of download if you get disconnected or close your browser, being forced to repeat all that tedious work?
Well, you need a download manager...
But... Aaaargh!!! my download manager doesn't work with Firefox! They say it does, but where is my Download All menu? How can I handle the tons of mp3, mpeg, jpg files that I want to download?
Well, you definitely need...
Last edited by Thrawn on Thu Aug 29, 2013 10:52 am, edited 2 times in total.
Reason: Fixed truncated link
Reason: Fixed truncated link
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Youtube chunks and encodes videos to avoid downloads
Please notice FlashGot already peforms that kind of "sniffing".
It seems, though, that Youtube slightly changed its behavior for some videos like the ones you linked here, so some code adjustments are needed.
I'll make them in next version, thank you.
It seems, though, that Youtube slightly changed its behavior for some videos like the ones you linked here, so some code adjustments are needed.
I'll make them in next version, thank you.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Re: Youtube chunks and encodes videos to avoid downloads
Doesnt work anymore. YouTube block the Flashgot for a lot of new videos. When you will fix this?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0
Re: Youtube chunks and encodes videos to avoid downloads
(just copying, cause probably more appropriate here)
from, http://forums.informaction.com/viewtopi ... 359#p55359ssjkakaroto wrote:@Giorgio: Do you want some links to videos that flashgot won't detect?
No need for that anymore, thanks, they're quite common now.
Unfortunately it's quite a complex issue (the live stream is not just chunked, but also the audio is split for the video), so I'm still looking for a solution.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 SeaMonkey/2.21a2
Re: Youtube chunks and encodes videos to avoid downloads
This youtube video is not displaying the Flashgot icon http://www.youtube.com/watch?v=LrUvu1mlWco
Is this the same issue already discussed? (Note that sometimes an ad is shown and may be downloadable, but obviously, I'm not referring to that.)
Is this the same issue already discussed? (Note that sometimes an ad is shown and may be downloadable, but obviously, I'm not referring to that.)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Youtube chunks and encodes videos to avoid downloads
VeVo is a different beast: Youtube seems to adopt a proprietary DRM scheme for it and it has not been downloadable for a long time now.Guest wrote:This youtube video is not displaying the Flashgot icon http://www.youtube.com/watch?v=LrUvu1mlWco
Is this the same issue already discussed? (Note that sometimes an ad is shown and may be downloadable, but obviously, I'm not referring to that.)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Re: Youtube chunks and encodes videos to avoid downloads
There seem to be some commercial packages (e.g. AllMyTube) that claim to be able to capture VEVO streaming video, so I'm guessing it's technically possible. However, you're saying it's complex enough that it won't be supported by Flashgot (I'm guessing). Perhaps these commercial packages have reverse-engineered the Flash Player DRM mechanism?Giorgio Maone wrote:VeVo is a different beast: Youtube seems to adopt a proprietary DRM scheme for it and it has not been downloadable for a long time now.Guest wrote:This youtube video is not displaying the Flashgot icon http://www.youtube.com/watch?v=LrUvu1mlWco
Is this the same issue already discussed? (Note that sometimes an ad is shown and may be downloadable, but obviously, I'm not referring to that.)
Of course one possibility with a fast enough PC and web connection is to simply play the video stream into a (perhaps offscreen) full resolution video buffer while capturing and encoding it back to some format (e.g. mp4). With that approach the player plugin software would have no idea what was going on (in theory) and could not prevent it. Of course, that's a completely different approach from what Flashgot is doing so I imagine it's not even on the radar.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Re: Youtube chunks and encodes videos to avoid downloads
I also have this very same problem. It's quite frustrating not able to save your favorite videos.
I like to keep a copy on my external HDDs so I can always watch it whenever I can even after years.
I like to keep a copy on my external HDDs so I can always watch it whenever I can even after years.
Mozilla/5.0 (masking-agent; rv:18.0) Gecko/20100101 Firefox/18.0
-
- Posts: 19
- Joined: Thu Mar 29, 2012 11:51 pm
Re: Youtube chunks and encodes videos to avoid downloads
You can use keepvid dot com to download videos that Flashgot won't detect, until Giorgio comes up with a solution.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:22.0) Gecko/20130620 Firefox/22.0
Re: Youtube chunks and encodes videos to avoid downloads
Just parse ytplayer.config.args.url_encoded_fmt_stream_map or the player's flashvars.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 SeaMonkey/2.19
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Youtube chunks and encodes videos to avoid downloads
FlashGot already does it.user wrote:Just parse ytplayer.config.args.url_encoded_fmt_stream_map or the player's flashvars.
It's not simple like that, the "signature" parameter parsed from is encrypted in various ways.
I'm working on it, please be patient because I'm currently traveling and I'm almost always AFK.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Re: Youtube chunks and encodes videos to avoid downloads
"Various", "not simple", tell me more, please. It's either not encrypted if passed via the "sig" parameter, or this if passed via the "s" parameter:Giorgio Maone wrote:FlashGot already does it.user wrote:Just parse ytplayer.config.args.url_encoded_fmt_stream_map or the player's flashvars.
It's not simple like that, the "signature" parameter parsed from is encrypted in various ways.
I'm working on it, please be patient because I'm currently traveling and I'm almost always AFK.
Code: Select all
var signature = stream.sig || decode_s(stream.s);
function decode_s (s) {
// return s.substr(4, 19) + s.substr(-1) + s.substring(24, s.length - 2);
var a = s.split("");
a[23] = a.pop();
return a.slice(4, -1).join("");
}
Code: Select all
var Sig = {
decode: function (s) {
var a = s.split("");
a = a.slice(3);
a.reverse();
this._swap(a, 63);
a = a.slice(2);
a.reverse();
a = a.slice(1);
return a.join("");
},
_swap: function (a, idx) {
var tmp = a[0];
a[0] = a[idx % a.length];
a[idx] = tmp;
}
};
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 SeaMonkey/2.19
Re: Youtube chunks and encodes videos to avoid downloads
@guest: Please keep your posts more respectful, especially when you're talking to the man who single-handedly maintains this, while also looking after a family, and doesn't get paid for it. If you think that FlashGot's behavior is the worst possible, feel free to submit a patch. But as Giorgio said, he doesn't have time at present to work on it.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0
Re: Youtube chunks and encodes videos to avoid downloads
This script is what Im using as an alternative.
It picks up the new videos too.
http://userscripts.org/scripts/show/25105
It picks up the new videos too.
http://userscripts.org/scripts/show/25105
Mozilla/5.0 (masking-agent; rv:17.0) Gecko/20100101 Firefox/17.0
Re: Youtube chunks and encodes videos to avoid downloads
That's an amazing script, Calx. Thanks for the heads up. I tried it to download VeVo videos, and guess what; it WORKS! Awesome.
I hope Giorgio Maone will take a look at the script when he gets back and perhaps ask the script's author if he could put it in FlashGot. As far as general video downloading goes, FG is just unbeateable. If the author could find a way to circumvent this tricky restriction, FG would be just perfect.
I hope Giorgio Maone will take a look at the script when he gets back and perhaps ask the script's author if he could put it in FlashGot. As far as general video downloading goes, FG is just unbeateable. If the author could find a way to circumvent this tricky restriction, FG would be just perfect.
Mozilla/5.0 (X11; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0