This may seem a somewhat strange requirement : I want to download youtube videos as I see it. I know that I would have to capture the packets using a program like wireshark , and I do know that this is possible. So lets say I have 3 computers on my network and 1 smartphone. Lets say I view a youtube video on my phone. I now want this video to be recorded on any one of the computers so that I can see it later(record in the sense capture the packets so that I dont have to download it again and waste my bandwidth). Are there any programs which will do this for me? The reason I want this is I use IMediaShare to view youtube videos on my Tv. Now once I see a video if I want to see it at a later point of time I have to download the entire video again.
As I understand you would like to download video file from Youtube, this is not very difficult and there are plenty different services over Internet to do this.
For example use this service - http://savefrom.net let say you would like to download video what has address https://www.youtube.com/watch?v=TTqpEJh03fI - you go to http://savefrom.net paste address of video into search bar, press download - and service will bring some direct download links on the right side of page with different video formats and quality (FLV, MP4, 3GP) then select one fits you most and download video file on your PC.
If you know that you want to keep the video before starting it, then you can use an extension, addon, or user-script (I recommend YousableTubeFix).
If you don’t know that you want to keep it before starting, then unless you happen to have a packet-sniffer constantly running in the background for some reason, then your only option is to copy it from the browser cache (which may be difficult on a smartphone).
The problem is that video-streaming sites not only lock the video file as it is being streamed (which means you cannot copy it), but they mark it with a flag that causes the OS to delete it immediately as soon as the lock is closed, so you cannot forcibly close the lock.
Your best bet is to use a tool like Unlocker to copy it. Do not close the lock because the file will be deleted! Instead use its Copy function to copy the file from the cache and rename it.
You will want to clear your browser cache before starting the video or while it is still locked in order to make it easier to identify the correct file (also sort the files by size since videos tend to be the largest).
The above information applies to older versions of Chrome. In newer versions (~21, 22 or so and up?) Chrome no longer uses locked-temporary files in the temp-directory. Instead, it now saves streaming videos to the regular browser cache folder in the User Data Directory (e.g.,
This should make it much easier to copy the cached videos from a phone.
Note however that this still only applies to certain videos like those on YouTube; sites that use other methods of streaming videos like RTSP will still not work as they still use “native files” in Windows (and presumably tmpfs in *nix/Mac). As such, they must still be “ripped” using the same stream-capturing tools as before.
If i was to try to do it, i would start by installing a (transparent or not) HTTP proxy and start messing around with its options to cache everything from youtube.com
I don't know if youtube.com is HTTP cache friendly or not, but if it's not, hacking the source of the HTTP proxy might be necessary.
This will (hopefully) prevent your phone from downloading the video twice, but your TV will likely request a higher quality video, that your phone would not be able to handle otherwise. This is a different problem.
If you can handle YouTube "captures" manually, then there is a probably most naive but simple way of doing this by means of FireFox extension MediaStealer. It does not require to install any heavy soft such as traffic monitors (WireShark and similar), and proxies. And most important thing is that it eliminates much efforts to analise traffic that you should be doing otherwise. The extension will just save the video you watching (say, as
I propose an easier solution!
Setup one computer with Linux, maybe a Raspberry Pi to use less continuous power. Sniff your home network for youtube http requests. Download the videos with
Install Youtube-DL with apt-get and Update
Download Youtube Video for Off-line Viewing