10/03/2012

Download Youtube videos using Chrome developer tools

Update
This method for downloading youtube videos is now no longer effective since youtube streams both audio and video files seperately. However, you can use the same method below to download the video and audio file seperately and merge them using your favourite video editor or ffmpeg.

The steps for downloading the video file is the same except that you need to discard the range parameter from the Request URL of the video file. This is to ensure that the complete video file is downloaded.

The steps for downloading the audio file is also the same except for step 3. The audio and video file have the same name and the only way of distinguishing between them is checking their file type. So, in order to download the audio file you need to select a videoplayback file which has a file type of audio/mp4 and then continue with the remaining steps.

Lastly, due to the obvious complexity of this method, I would like to share an alternative less complex method of downloading videos not only from youtube but from any video streaming website. The method involves a command-line program called youtube-dl available from youtube-dl.org. To download a youtube video using youtube-dl, you need to run the program followed by the URL of the youtube video. Example:

> youtube-dl http://www.youtube.com/watch?v=[youtube_video_id]

where youtube_video_id is the video id of the youtube video.


Hello,
This post shows you how to download youtube videos using the Chrome developer tools. No additional plugins are required.

Step 1
Open the chrome developer tools using the key combination Shift+Ctrl+I.


Chrome developer tools at the bottom of the browser
Step 2
Open the youtube video which you want to download. (In my case I will open the John Carter Trailer)


Step 3
Click on the Network Tab, on the top of the chrome developer tools pane, and search for the flv file called videoplayback. This is the video file that is played on the webpage.

videoplayback file located on the left pane of the developer tools

Step 4
After locating the videoplayback file, click on it and copy the Request URL under the Header tab. The Request URL enables the browser to locate the video on the youtube servers (this is what we require). Paste the URL into the omnibar (address bar). The video will load on your web browser with the chrome video player.

The John Carter trailer being played on chrome
Step 5
Last and final step. Click on the wrench icon, on the top right of the browser and select Save page as...

Choose the location where you want to save the file. The default name of the file is videoplayback. But this will not be recognized by any of the video players since it does not have an extension. So we need to modify the name of the file by giving it an extension which is .flv.  Change the name of the file to something more appropriate. In my case I will rename it to "John Carter Trailer 2012". Click Save.


Finally, we have successfully downloaded the youtube video.

Conclusion
This method effectively enables you to download youtube videos. It doesn't require you to download softwares or plugins. All you need is Google Chrome. The only drawback to the method is its complex procedure, but still at the end of the day you have your video.

25 comments:

  1. doesn't seem to work anymore. I do recall this working at one point though. The downloaded file doesn't play.

    ReplyDelete
  2. well, a simpler way to download youtube videos is:
    1) Open the video on youtube
    2) In the url change the word 'youtube' to 'voobys'
    3) Hit enter and wait...
    4) Let Java run
    5) choose which format you want
    6) wait for it to download
    7) Enjoy!

    ReplyDelete
  3. YouTube videos can be download by the help of YouTube Downloader which you can use for free from any where you want.

    ReplyDelete
  4. or http://www.10youtube.com/watch?v=ChQHPc0eCDs

    ReplyDelete
  5. Worked like a charm. I was going nuts restarting it multiple times. Thanks for posting. Keep up the GREAT work.  Youtube Technical Support

    ReplyDelete
  6. Thanks for sharing nice blog.

    http://www.gamsoftwaresolutions.com

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Hi! Nice blog! I removed the range parameter but still when I save the page it doesn't play either as a video or an audio file

    ReplyDelete
  10. i use a webpage call TubeRipper just copy the URL and click on Download. you can just download as mp3. fast and easy!!! http://www.tuberipper.com.ve

    ReplyDelete
  11. Download and search fast any youtube video and mp3 only on www.audiowala.net
    To download a youtube video just replace youtube.com with audiowala.com
    For example: https://youtube.com/watch?v=pWctprkR-O4
    Replace with
    http://audiowala.com/watch?v=pWctprkR-O4
    official website
    audiowala

    ReplyDelete
  12. If you want to free download Youtube Video Downloader. please watch this video and follow every step.
    https://youtu.be/448ZAQsb9bQ

    ReplyDelete
  13. You watch a funny and witty video online, typically YouTube, you want to download them to your device but don't know how. Don't think too much about it, install SaveFrom net.
    SaveFrom net: a tool that supports downloading videos from multiple websites with quality up to 720p, 1080p, 4K
    install SaveFrom net for your device now !!!

    ReplyDelete
  14. Tubemate of Devian Studio is the application I am using to download Youtube videos for free. Tubemate allows users to install it for free here: https://devianstudio.net/

    ReplyDelete
  15. I am incapable of reading articles online very often, but I’m happy I did today. It is very well written, and your points are well-expressed. I request you warmly, please, don’t ever stop writing. تحميل فيديو من تويتر

    ReplyDelete
  16. I invite you to the page where see how much we have in common. hip hop video promotion

    ReplyDelete
  17. Hi there! The smaller font under each word tells the actual name of the font. The "sparkling" one is called Sweet Pea font and the link is: http://www.dafont.com/sweet-pea.font
    The clickable links to all of them are right under the image!
    Thanks!
    Do you like watching videos on YouTube? Would you like to get paid to watch videos, post comments, and ‘like’ videos?

    Well, this is exactly what thousands of people just like you are doing right now. They are called ‘Social Media Managers’ and they are getting paid great money to work online doing simple tasks on YouTube such as:

    Commenting on YouTube videos
    Posting video responses to videos
    Getting more ‘likes’ and views for videos
    Uploading videos and managing YouTube accounts for businesses.
    As long as you know how to use YouTube, have an internet connection and a few hours to spare per week then you can make great money doing simple jobs on YouTube. Click the link below to get started:

    https://clicktrix.com?dominik4215

    ReplyDelete
  18. Hi there! The smaller font under each word tells the actual name of the font. The "sparkling" one is called Sweet Pea font and the link is: http://www.dafont.com/sweet-pea.font
    The clickable links to all of them are right under the image!
    Thanks!
    Do you like watching videos on YouTube? Would you like to get paid to watch videos, post comments, and ‘like’ videos?

    Well, this is exactly what thousands of people just like you are doing right now. They are called ‘Social Media Managers’ and they are getting paid great money to work online doing simple tasks on YouTube such as:

    Commenting on YouTube videos
    Posting video responses to videos
    Getting more ‘likes’ and views for videos
    Uploading videos and managing YouTube accounts for businesses.
    As long as you know how to use YouTube, have an internet connection and a few hours to spare per week then you can make great money doing simple jobs on YouTube. Click the link below to get started:

    https://clicktrix.com?dominik4215

    ReplyDelete
  19. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post.
    youtube converter

    ReplyDelete