April 4, 2010 · General · Email This Post
Share
{lang: 'en-GB'}

Download videos from various Flash-based video hosting sites, without having to use the Flash player. Handy for saving videos for watching offline, and means you don’t have to keep upgrading Flash for sites that insist on a newer version of the player.
Includes support for the following sites/players (and more!):

* YouTube, eHow, Brightcove (used by many sites like Channel 4, Daily Telegraph …), BBC (news, etc), Metacafe, 5min, Google, fliqz, nicovideo, vimeo, Blip, Break, Collegehumor, Muzu, Sevenload, Megavideo, Wat.tv.

* Also includes a ‘generic’ method which works on many other sites.

You can check project home page

Install get-flash-videos in Ubuntu

Open the terminal and run the following commands , this installs it system-wide or download .deb package from here

sudo apt-get install libwww-mechanize-perl libxml-simple-perl

wget http://get-flash-videos.googlecode.com/files/get-flash-videos_1.21-1_all.deb

sudo dpkg -i get-flash-videos_1.21-1_all.deb

get-flash-videos Syntax

get_flash_videos url..

Usage Examples

Play a video (may prompt for filename still, override with -y):

get_flash_videos -p http://some.site/video

Download a video (note quotes are required for URLs with special characters like ‘&’ in):

get_flash_videos “http://some.site/video?f=1&v=1234″

Play the URL on the clipboard (UNIX):

xclip -o | xargs get_flash_videos -y -p

Play the first video matching “Open Source”:

get_flash_videos -y -p Open Source

Install a plugin:

get_flash_videos --add-plugin http://website.com/PluginName.pm

Screenshot



Share

Related posts

8 Comments to “get-flash-videos - A command line program to download flash videos”

  1. Blake says:

    I still like my script (obviously) because it was my first script I ever wrote.
    http://lifehacker.com/5206354/save-the-last-flash-movie-you-watched

    [Reply]

  2. joe says:

    wish i found one that worked for nhl.com :(

    [Reply]

  3. ~ says:

    Same purpose but it has a GUI and it can convert videos too:
    http://damnvid.googlecode.com/

    [Reply]

  4. Daniel says:

    I always find it amusing that the kernel team do their best to ensure that the core of linux is safe from litigation, yet the users of linux are quite happy to violate terms of service when it suits them.

    has anyone read the ToS for youtube? you should pay attention to 4.C

    I’m pretty sure if X.org or the Kernel found themselves in violation of a licence or patent
    they’d implement a work around to avoid it.
    (and they have)
    Why do users feel they can play god about such things?

    [Reply]

  5. Be quiet Daniel says:

    Be quiet Daniel, you are just trolling

    [Reply]

  6. Darco says:

    to ~,
    No it’s not like damnvid,
    It’s a bit better, it scans an html file for videos and doesn’t require the vid’s URL

    [Reply]

  7. Christopher says:

    or you could do it raw without downloading or compiling anything

    simply do
    lsof -p $(ps -ef | grep chrome | grep flash | awk ‘{ print $3 }’) | grep deleted | grep Chrome
    from a terminal and keep an eye out for the file size thats changing.

    example output
    chrome 14769 cthompson 64u REG 0,16 12 14524878 /dev/shm/.com.google.Chrome.bgIhSu (deleted)

    once you get it you copy /proc/<>/fd/<> to wherever you want

    ** note that you need to get it after it finishes streaming **

    Then simply enjoy

    [Reply]

    Christopher Reply:

    My sincere apologies: the above should have been
    lsof -p $(ps -ef | grep -i chrome | grep flash | awk ‘{ print $2 }’) | grep Flash

    which returns only one line, rather then multiples.

    [Reply]

Leave a Reply