How to download videos in Safari 7.0 like could be done on Snow Leopard?
November 1, 2013 8:55 PM Subscribe
I'm all ready to upgrade to Mavericks (OSX 10.9) except for one thing.
On Snow Leopard (10.6.8), I am able to open Safari's "Activity window" and see most video files as they're loading there (however, not certain sites like Hulu). From that window, it's an easy Option-Click to download said video file. Safari 7.0 doesn't have this ability. Is there a Safari 7.0 add-on or something that will bring this ability back to Safari?
I know that you can enable the Develop Menu via Safari 7.0 preferences, and then Show Page Resources, but that doesn't seem to show the video files (or at least, I can't find them).
I know that you can enable the Develop Menu via Safari 7.0 preferences, and then Show Page Resources, but that doesn't seem to show the video files (or at least, I can't find them).
I don't know of anything as simple as you describe in Safari 7.0, but for HTML5 videos, you can almost always dig a direct URL to the video out of the source relatively easily with the Web Inspector's target tool. Click the target icon, then click on the video pane; then go searching there or deeper in the source tree for things that look like a <video> tag. The "src" parameter in that tag is what you want to click on, or copy. Once you have the link copied to the clipboard, it's a simple matter of opening a terminal window and saying curl -o filename.mp4 '<paste>'. Now it's yours.
That trick does not work with Flash videos, and even having Flash Player installed will usually prevent a site from showing you the HTML5 version of the video, but there's sometimes another way to save it. Start the video playing, then pause it. Go to the terminal and say "ps aux | grep Flash". If you're in luck, the Flash process is saving the video into a temporary file under /private/var/folders/??/long_string_of_stuff/...whatever. ls -lht /that/path/ will give you a listing of files under there, ordered by time created, and sizes in human-readable format; the video is probably the newest and largest file in that directory. Wait until the video is completely downloaded, and then you can just cp /private/var/folders/etc/etc/whatever video.flv. Play it back with vlc.
It's absolutely hilarious to me how developers who really ought to know better think they can prevent you from saving things, when your browser has to retrieve them in order to show them to you in the first place.
posted by Suddenly, elf ass at 9:53 PM on November 1, 2013 [2 favorites]
That trick does not work with Flash videos, and even having Flash Player installed will usually prevent a site from showing you the HTML5 version of the video, but there's sometimes another way to save it. Start the video playing, then pause it. Go to the terminal and say "ps aux | grep Flash". If you're in luck, the Flash process is saving the video into a temporary file under /private/var/folders/??/long_string_of_stuff/...whatever. ls -lht /that/path/ will give you a listing of files under there, ordered by time created, and sizes in human-readable format; the video is probably the newest and largest file in that directory. Wait until the video is completely downloaded, and then you can just cp /private/var/folders/etc/etc/whatever video.flv. Play it back with vlc.
It's absolutely hilarious to me how developers who really ought to know better think they can prevent you from saving things, when your browser has to retrieve them in order to show them to you in the first place.
posted by Suddenly, elf ass at 9:53 PM on November 1, 2013 [2 favorites]
I think I meant "lsof | grep Flash" in that previous bit about Flash videos. That would make more sense.
posted by Suddenly, elf ass at 11:35 PM on November 1, 2013
posted by Suddenly, elf ass at 11:35 PM on November 1, 2013
Depending on where you're trying to snag videos from, youtube-dl might be worth a look - despite the name it'll download from quite a few video hosting sites, and saves you the bother of rooting around in the page source.
cclive works similarly.
posted by jack_mo at 4:55 AM on November 2, 2013
cclive works similarly.
posted by jack_mo at 4:55 AM on November 2, 2013
Give Click-to-Plugin a try.
It gives you ways to show various plugins as native filetypes (like showing Youtube as HTML5 videos) but it also gives you a right-click to download function.
posted by tomierna at 9:13 AM on November 2, 2013
It gives you ways to show various plugins as native filetypes (like showing Youtube as HTML5 videos) but it also gives you a right-click to download function.
posted by tomierna at 9:13 AM on November 2, 2013
« Older What children's books have characters named Daniel... | Once upon a time there was a... uh... Newer »
This thread is closed to new comments.
posted by zsazsa at 9:50 PM on November 1, 2013