Más contenido relacionado
La actualidad más candente (14)
niconico4j
- 2. スペックkwsk
名前:野口大輔(のぐちおおすけ)
id:celitan @regtan
所属:
・java-ja
・ギリギリ197X世代・文型PGクラスタ
・自重できない大人クラスタ・粗悪PG
・Junk Tune Produce
(粗)瀧本自動車 (車内SE)
- 17. 開発のきっかけ
というわけでJavaで
つくることに
コンパイルしてやんよ!(@lovecall的な意味で)
打倒!nicovideo!rubyけまらしい!
Javaは非モテのイメージの払拭(?)
- 22. というわけでさっそくつくってみた
<?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?>
<nicovideo_thumb_response status=quot;okquot;> <thumb> <video_id>sm4005866</video_id>
<title>縲信AD縲第凾繧偵°縺代k蟆大・ウ 繧ャ繝シ繝阪ャ繝医?H.264縲?/title>
<description>莉・蜑攻P縺励※縺?◆MAD繧辿.264縺ァ繧ィ繝ウ繧ウ繝シ繝峨@縲`AD閾ェ菴薙
b蠕ョ隱ソ謨エ繧偵@縺ヲ蜀攻P縺励※縺ソ縺セ縺励◆?√?H.264繧ィ繝ウ繧ウ縺ッ蛻昴a縺ヲ縺ェ
縺ョ縺ァ縲∬ゥヲ陦碁険隱、縺ョ邨先棡縲√〒縺阪k縺九℃繧企ォ倡判雉ェ縺ォUP縺励◆縺、繧ゅj
縺ァ縺?^^;</description> <thumbnail_url>http://tn-
skr1.smilevideo.jp/smile?i=4005866</thumbnail_url> <first_retrieve>2008-07-
19T09:54:07+09:00</first_retrieve> <length>5:22</length>
<view_counter>64036</view_counter> <comment_num>6782</comment_num>
<mylist_counter>3533</mylist_counter> <last_res_body>縺?o縺ゅ≠縺ゅ≠縺ゅ≠縺ゅ≠
縲瑚ィ?▲縺ヲ縺ェ縺?▲縺ヲ縺ー繝シ 縲取悴譚・縺ァ蠕?▲縺ヲ... </last_res_body>
<watch_url>http://www.nicovideo.jp/watch/sm4005866</watch_url>
<thumb_type>video</thumb_type> <tags> <tag>繧「繝九Γ</tag> <tag>譎ゅr縺九¢繧
句ー大・ウ</tag> <tag>繧ャ繝シ繝阪ャ繝?/tag> <tag>霍ィ雜頑凾遨コ逧?クュ蟷エ</tag>
<tag>AMV</tag> <tag>The_Girl_Who_Leapt_Through_Time</tag>
<tag>Time_waits_for_no_one</tag> </tags> </thumb> </nicovideo_thumb_response>
- 30. 実際に取得したデータ
http://www.nicovideo.jp/api/getthumbinfo/sm1715919
<?xml version=quot;1.0quot; encoding=quot;UTF-8quot; ?> - <nicovideo_thumb_response status=quot;okquot;> - <thumb>
<video_id>sm1715919</video_id> <title>初音ミク が オリジナル曲を歌ってくれたよ「メルト」</title> <description>マイ
リス10万すげえ・・・サイトリニューアルしやした→http://supercell.sc/ 「恋と戦争においてはあらゆる戦術が許される」 歌詞2
発めです。最近違う自分が開花していくのがわかる・・・ 新曲「ブラック★ロックシューター」→sm3645817ちょっと新しいメルト、
聴いてみませんか?なんと素敵なイラストも!下記アドレスからどうぞ。
→http://makebelieve.sakura.ne.jp/music/2melt.zip→http://supercell.sakura.ne.jp/music/2melt.zip→mylist/3291521
</description> <thumbnail_url>http://tn-skr2.smilevideo.jp/smile?i=1715919</thumbnail_url> <first_retrieve>2007-
12-07T20:46:02+09:00</first_retrieve> <length>4:17</length> <view_counter>2968974</view_counter>
<comment_num>378822</comment_num> <mylist_counter>102572</mylist_counter> <last_res_body>工作が好き
だなんて ☆IYIIIくLI☆I 肯定してるようなもん</last_res_body>
<watch_url>http://www.nicovideo.jp/watch/sm1715919</watch_url> <thumb_type>video</thumb_type>
<embeddable>1</embeddable> - <tags domain=quot;jpquot;> <tag lock=quot;1quot;>うp者は中二病</tag> <tag lock=quot;1quot;>初音ミク
</tag> <tag lock=quot;1quot;>㍍⊃</tag> <tag lock=quot;1quot;>職人の祭典</tag> <tag lock=quot;1quot;>音楽</tag> <tag>メルト</tag>
</tags> - <tags domain=quot;twquot;> <tag>初音未來</tag> <tag>已翻譯歌曲</tag> <tag>常時保養翻譯職人?求中</tag>
<tag>台灣VOCALOID評論人氣曲</tag> <tag>台灣人推薦的動畫</tag> </tags> - <tags domain=quot;dequot;> <tag>工作
</tag> <tag>カルト</tag> <tag>工作員養成動画</tag> <tag>Miku_Hatune</tag> </tags> - <tags domain=quot;esquot;>
<tag>RC2時代の怪傑</tag> </tags> </thumb> </nicovideo_thumb_response>
- 31. 解析してみる
nicovideo_thumb_response@status
動画情報が正しく取得できた→true
削除動画など取得できない場合→false
nicovideo_thumb_response/thumb/video
動画ID
nicovideo_thumb_response/thumb/title
動画タイトル
nicovideo_thumb_response/thumb/description
動画説明文(上のほうに動画投稿者が書いている内容)
nicovideo_thumb_response/thumb/thumbnail_url
動画サムネイルURL
- 32. 解析してみる
nicovideo_thumb_response/thumb/first_retrieve
動画投稿日時 形式:yyyy-MM-ddThh:MM:ss+09:00
nicovideo_thumb_response/thumb/length
動画時間
nicovideo_thumb_response/thumb/view_counter
再生回数
nicovideo_thumb_response/thumb/comment_num
コメント数
nicovideo_thumb_response/thumb/mylist_counter
マイリスト登録数
nicovideo_thumb_response/thumb/last_res_body
最新コメント
nicovideo_thumb_response/thumb/watch_url
動画URL