・効能
ニコニコのコメントの変換をしたりする、
pylib-nicovideoのUIです。
GUI版と比べて少し多機能かもしれませんが、
今のところはライブラリの動作を確認するために書いたようなものなので
エラー処理とかがまるでできていません。
・動作環境
Python3.3以上とpylib-nicovideoが必要です。
3.2でも動くような気がしますがいつ動かなくなっても知りません。
(だからといって3.3での動作を保証するわけでもありませんが。)
・使い方
コマンドラインオプション無しで起動すると対話モードになります。
対話モードは?コマンドでヘルプが見えるのでそっちを見てください。
コマンドラインオプションは、以下の様に指定します。
niconico-memories.py download [オプション] 動画ID...
niconico-memories.py convert [オプション] 入力ファイル...
niconico-memories.py showuser [オプション] ユーザーID...
すべてのモードで以下のオプションが使えます。
・-v ログレベル
ログレベルを指定します。今の所ほとんどログしてくれません。
downloadでは、サーバーから動画とコメントを取得できます。
以下のオプションが使えると思います。
・-s 設定文字列
設定文字列は以下の文字を含んだり含まなかったりする文字列です。
・v 指定すると動画をダウンロードします。
・r 指定するとコメントをダウンロードします。
・c 指定するとダウンロードしたコメントを変換します。
・t 指定するとサムネイルをダウンロードします。
convertでは、ダウンロード済みのコメントを変換します。
たぶんほかツールでDLしたものにも使えます。
showuserでは、ユーザーIDからユーザー名とアイコンのURLを取得します。
・コピーライトとライセンス
Copyright 2014 dyknon
This file is part of NicoNicoMemories.
NicoNicoMemories is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
・連絡先
dyknon