The trick for copying YouTube videos I mentioned in a previous post seems to have broken. No worries though. Here’s a workaround.

  1. Read the YouTube.com Terms of Service. You may copy content for personal use so long as you do not (1) distribute it further (no torrentz, dudes) and (2) do not alter copyright notices. Here’s the relevant text:

    Content on the Website is provided to you AS IS for your information and personal use only and may not be used, copied, reproduced, distributed, transmitted, broadcast, displayed, sold, licensed, or otherwise exploited for any other purposes whatsoever without the prior written consent of the respective owners…If you download or print a copy of the Content for personal use, you must retain all copyright and other proprietary notices contained therein. You agree not to circumvent, disable or otherwise interfere with security related features of the YouTube Website or features that prevent or restrict use or copying of any Content or enforce limitations on use of the YouTube Website or the Content therein.

  2. Go to YouTube, open a video and wait for the video to finish loading. This little trick does not work until the entire video has cached to your computer. Do not close the YouTube window, although you may pause the video.
  3. Launch a Terminal shell. The command-line is your friend.
    Change directories to /tmp. Issue a ls -lS command to identify the cached video. As a rule, the video will occupy many megabytes and be one of the most recently created items in your /tmp directory.

    % cd /tmp
    % ls -lt
    total 20528
    -rw-------   1 ericasad  wheel  10478103 May 25 08:46 WebKitPlugInStreamRGr3qd
    -rw-------   1 ericasad  wheel       526 May 25 08:43 WebKitPlugInStream3iFMhq
    -rw-------   1 ericasad  wheel     13145 May 25 08:42 WebKitPlugInStreamk9BljY
    -rw-------   1 ericasad  wheel        60 May 25 08:31 objc_sharing_ppc_501
    -rw-------   1 security  wheel        24 May 25 08:31 objc_sharing_ppc_92
    drwxrwxrwx   3 root      wheel       102 May 25 08:31 printers/
    % 
  4. Copy the file to the desktop. Use the cp command to copy the video file to your desktop, renaming it with an FLV extension.
    % cp WebKitPlugInStreamRGr3qd ~/Desktop/copiedvideo.flv
    %
  5. Watch. The latest version of VideoLan Client supports FLV file playback. Because the file is in a “streamed” format, you cannot use Option-Command-Right Arrow to step forward. Also, VLC may issue an error when you load the video that you can just ignore and dismiss.