俺のUstアーカイブが10日でダウンロード出来るわけが無い!
-
Upload
yoshitake-takata -
Category
Internet
-
view
434 -
download
0
description
Transcript of 俺のUstアーカイブが10日でダウンロード出来るわけが無い!
2014/10/04 Sat LT駆動08
俺のUstアーカイブが10日でダウンロード出来るわけが無い!
(公開用修正版)
お約束
この発表は個人的な物で
仕事や所属等は全然関係
ありません。
誤記や間違い等あれば
ご指摘頂けると
助かります。
@takatayoshitake
自己紹介
広島を中心に勉強会に出没。オープンソースカンファレンスHiroshima地元実行委員や
広島サーバユーザ友の会(仮称)をはじめた奴です。
@takatayoshitake
会場のみなさんにクイズ
A. 232B. 496C. 641
私のUstアーカイブ動画数はいくつあるでしょう?
※2014/10/4現在
答え
B. 496
2009/12~2014/09 迄※私が配信した動画でも他の方のアカウントの動画は除く
Ustream Asia / Japan サポートブログ 2014/09/30
アーカイブ映像の保存期間の変更と
削除されるビデオについて
2014年10月10日以降、アーカイブ映像(録画ビデオ )の保存期間が変更され、作成から30日が経過したアーカイブ映像は削除されます。
大切なアーカイブ映像は10月9日までにダウンロードのうえローカル環境に保管ください。
http://blog.ustream-asia.jp/2014/09/blog-post_30.html
アカウント 11個
******* 29.3 GB
********** 4.6 GB
******* 1.3 GB
**************** 8.3 GB
************* 0.4 GB
******* 0.1 GB
********** 2.3 GB
**************** 2.1 B
**************** 0 GB
************* 2.8 GB
******** 0.7 GB
計 約 51.9GB
チャンネル 117 (1/2)*******************************************************************************************************************************************************************************************************************************************************************************
*********************************************************************-*********-******************************************************************************************************
**************************************************************************************************************************************************************************************************************************************************************
チャンネル 117 (2/2)*******************-******-*******-*****ll_********-*******************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************-**-***********************************-***-*****************************************
動画の無いチャンネルもあり
動画数 496************01.rss:14*********-***-20130428.rss:4**************002.rss:2*****************201203.rss:4*****************20120407.rss:2**********02.rss:5***********001.rss:2***********002.rss:1***********006.rss:1***********007.rss:1***********010.rss:1***********011.rss:2***********013.rss:1***********014.rss:3***********015.rss:7***********017.rss:9***********020.rss:3***********026.rss:4***********02.rss:42********23.rss:18******07*.rss:4****-**-*********01.rss:15****01.rss:54*********24.rss:13****.rss:4*****02.rss:2*****03.rss:6*****06.rss:4***2010**.rss:3********************01.rss:5
******01.rss:6********056.rss:3********21.rss:4********24.rss:3********25.rss:1********28.rss:4********29.rss:3********42.rss:5********43.rss:2********44.rss:5********46.rss:3********48.rss:3********50.rss:2********55.rss:4***************001.rss:18***************002.rss:19***************33.rss:2***************34.rss:2***************36.rss:1***************37.rss:2***************39.rss:3***************40.rss:2***************41.rss:3********.rss:2************01.rss:5********02.rss:7
***2010**.rss:6***2011*****.rss:4***********01.rss:5*************01.rss:1****************001.rss:10****001.rss:6****02.rss:12****08.rss:1****09.rss:1****10.rss:2****14.rss:3****15.rss:2****17.rss:3****18.rss:3****25.rss:7****27.rss:1****30.rss:14************01.rss:1*******22.rss:1*********001.rss:12*********15.rss:8*********17.rss:1*********20.rss:7*********23.rss:4*****01.rss:7*****2010.rss:5*****2011.rss:14***********02.rss:2**************01.rss:2***********2010.rss:1
9月30発表で
削除される10月10日まで
わずか10日
10日で496個、1日50個とか
手動では無理(泣
アーカイブ映像の一括ダウンロード方法
Ustreamではチャンネルごとのビデオソース URLを
一括でRSSフィードとして出力する事ができます。
http://blog.ustream-asia.jp/2014/09/blog-post_68.html
https://www.ustream.tv/channel/(チャンネル名)/0/video/download.rss
例:https://www.ustream.tv/channel/ltdd01/0/video/download.rss
ID パスワードが必要
Miro 6
http://www.getmiro.com/
実行中
10/1~3 で約163ダウンロード自動ダウンロードですがエラーで
スムーズに進まない(泣
Ustream動画保存方法
「ustream ダウンロード tcdn」で検索
→「USTREAM録画をダウンロードする | コンピュータ忘備録」
動画URL http://www.ustream.tv/recorded/49581971
↓
ダウンロードURL http://tcdn.ustream.tv/video/49581971
※ID,Password 無しで誰でも可ですが、 ファイル容量が小さく画質があまりよくありません
動画URLをダウンロードする方法
一括ダウンロード rss を取得
wget --user=[ユーザ名] --password=[パスワード] https://www.ustream.tv/channel/[チャンネル名]/0/video/download.rss -O [チャンネル名].rss
(1行で入力)
rssファイルから guid 行を抽出
cat [チャンネル名].rss | egrep guid
ltdd01.rss (1/2)
<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.
w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<atom:link href="http://www.ustream.tv/channel/ltdd01/videos.rss
" rel="self" type="application/rss+xml" />
<title>ltdd01</title>
<link>http://www.ustream.tv/channel/ltdd01</link>
<description>
LT 駆動開発
https://github.com/LTDD/Sessions/wiki </description>
<category>コンピュータ</category>
<lastBuildDate>Fri, 03 Oct 2014 20:49:34 -0700</lastBuildDate>
<generator>Ustream RSS Generator</generator>
ltdd01.rss (2/2)
<item>
<guid>http://www.ustream.tv/recorded/44349015</guid>
<title>ltdd01</title>
<pubDate>Fri, 28 Feb 2014 21:57:19 -0800</pubDate>
<enclosure url="http://tcdn.ustream.tv/video/44349015?preset_id=
1&e=xxxxxxxxxx&h=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" type="video/x-flv" le
ngth="23182042" />
<media:content
url="http://tcdn.ustream.tv/video/44349015?preset_id=1&a
mp;e=xxxxxxxxxx&h=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
</media:content>
</item>
# cat ltdd01.rss | egrep guid<guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid>
<guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid><guid>http://www.ustream.tv/recorded/********</guid>
ダウンロードスクリプト作成某VPS等で実行
guid 取り出し
cat *.rss | egrep guid | awk -F\/ '{print $5}' \| sed 's/<//' > guid.lst
ダウンロード用スクリプト作成
cat guid.lst | awk '{print "wget
http://tcdn.ustream.tv/video/"$1" -O "$1".flv"}' > wget_video.sh
バックグラウンドで実行
sh wget_video.sh &
実行結果********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv
********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv
********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv
********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv
********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv
********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv********.flv
6時間で約300
ファイル注: 画質
悪い縮小版
Linux等で動くMiroのような
Podcastクライアントがあれば
クラウドサービス等で
並列ダウンロード可?
(未確認)
誰か出来た人が居たら
教えて下さい。
まとめ
無料サービスは急にポリシーが変わることもあるので日頃からこまめにバックアップしないと泣くことになります(涙
ご清聴
ありがとう
ございました。