メモ?
コマンドラインの動画ダウンローダ をとりあえず入れてみた的メモ。
対応ホストは以下のとおり
$ clive --hosts
youtube.com default|mobile|sd_270p|sd_360p|hq_480p|hd_720p|hd_1080p|webm_480p|webm_720p video.google. default|mp4 sevenload.com default break.com default liveleak.com default evisor.tv default dailymotion.com default|hq|hd tv.cctv.com default vimeo.com default|hd spiegel.de default|vp6_928|vp6_576|vp6_64|h264_1400 golem.de default|ipod|high ehrensenf.de default clipfish.de default funnyhub.com default myubo.com default buzzhumor.com default
$ sudo aptitude install git-core パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 拡張状態情報を読み込んでいます パッケージの状態を初期化しています... 完了 タスクの記述を読み込んでいます... 完了 以下の新規パッケージがインストールされます: git-core libcurl3-gnutls{a} liberror-perl{a} 更新: 0 個、新規インストール: 3 個、削除: 0 個、保留: 0 個。 3729kB のアーカイブを取得する必要があります。展開後に 8315kB のディスク領域が新たに消費されます。 先に進みますか? [Y/n/?] y :(略) git-core (1:1.5.6.5-3+lenny3.2) を設定しています ... タスクの記述を読み込んでいます... 完了
$ git clone git://repo.or.cz/clive.git Initialized empty Git repository in /home/nakax/src/clive/.git/
$ cd clive $ cat README * BerkeleyDB - If not installed, clive cache features will be disabled * Term::ReadKey - If not installed, clive will not resize progressbar to match terminal width $ cat Makefile.PL 'PREREQ_PM' => { 'Getopt::ArgvFile' => 1.11, 'Class::Singleton' => 1.4, 'HTML::TokeParser' => 2.37, 'URI::Escape' => 3.29, 'Digest::SHA' => 5.45, 'WWW::Curl' => 4.05, 'Config::Tiny' => 2.12, }, $ aptitude search perl > /tmp/aptitude-perl.txt $ egrep 'berkeley|readkey' /tmp/aptitude-perl.txt p libberkeleydb-perl - Perl からバークレイ DB 4 データベースを利 p A libterm-readkey-perl - A perl module for simple terminal control $ egrep 'argv|singleton|tokeparser|escape|sha|curl|tiny' /tmp/aptitude-perl.txt p libapache-singleton-perl - Singleton class for mod_perl p libcache-fastmmap-perl - Mmap'ed file as a shared memory interproce p libclass-singleton-perl - perl Class::Singleton - Implementation of p libconfig-tiny-perl - 最小限のコードで .ini スタイルのファイルを p libcrypt-hcesha-perl - Perl extension for one way hash chaining e p libcss-tiny-perl - Read/Write .css files with as little code p libdigest-sha-perl - Perl extension for SHA-1/224/256/384/512 i A libdigest-sha1-perl - NIST SHA-1 メッセージ要約アルゴリズム p libfile-sharedir-perl - Locate per-dist and per-module shared file p libgetopt-argvfile-perl - Perl module for reading script options and p libhtml-tiny-perl - HTML::Tiny - Lightweight, dependency free p libhtml-tokeparser-simple-perl - HTML 文書のトークン化に使う Perl モジュー p libipc-shareable-perl - Access IPC shared memory segments through p libipc-sharedcache-perl - manage a cache in SysV IPC shared memory p libipc-sharelite-perl - Perl module that provides a simple interfa p libnet-dpap-client-perl - Connect to iPhoto shares (DPAP) p libpod-escapes-perl - CPAN's Pod::Escapes -- for resolving Pod E p libstring-escape-perl - Perl module that provides conversion funct p libthreads-shared-perl - perl threads API p libwww-curl-perl - Perl bindings to libcurl p libyaml-tiny-perl - Read/Write YAML files with as little code $ sudo aptitude install libberkeleydb-perl libterm-readkey-perl libclass-singleton-perl libdigest-sha-perl libgetopt-argvfile-perl libwww-curl-perl
$ perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Class::Singleton 1.4 not found. We have 1.03. Warning: prerequisite Config::Tiny 2.12 not found. Warning: prerequisite URI::Escape 3.29 not found. We have 3.28. Writing Makefile for clive $ make $ sudo make install
$ clive http://www.youtube.com/watch?v=aFhvWOgg-YU fetch http://www.youtube.com/watch?v=aFhvWOgg-YU ...done. verify video link ...done. ようこそJapanへ.flv 100% 1.7M / 1.7M 23.6K/s 73s $なんだか Youtube の文字が消えるようだが問題はない。。
コメントはありません。 コメント/memo/clive?