Yet Another Niconico-douga Command-line Interface
Project description
Yet Another Niconico-douga Command-line Interface
Description
yanico は Apache 2.0 ライセンスで公開されている ニコニコ動画 にアクセスするためのCUIコマンドです。 メインコマンド yan (yanico の先頭3文字)に続けて サブコマンドを指定することで機能を実行します。 機能を集めることができる CUIコマンドを目標にゆっくり開発していきます。 パッケージに含むREADME等のドキュメントは日本語で先に書いていきます。
Feature
yan コマンドの体系は git や mercurial のようなサブコマンドの集合です。
ログインのセッション情報などはブラウザから取得します。
Firefoxのセッション情報を取得します。
他のブラウザへの対応は未定です。
コマンドからログインする機能は今のところ未定です。
Python と setuptools の知識が必要ですが、 ユーザーが 独自にコマンドを追加 することができます。
Requirement
Python (バージョン3以降)
サードパーティ製のHTTPライブラリ(予定)
Install
PYPI のリリース版をインストールする:
$ pip install yanico
リポジトリ の最新版をインストールする:
$ pip install git+https://github.com/ma8ma/yanico
Usage
入力例:
$ yan subcommand arg1 arg2
What’s New
v0.1.0a2 (2016-02-06)
ソースパッケージにドキュメントを追加しました。
Firefoxのプロファイルからニコニコのセッション情報をロードする機能を追加しました。
v0.1.0a1 (2015-11-24)
コマンド yan を追加しました。 このコマンドはサブコマンドの追加による機能拡張が可能です。
以前のバージョンでの変更は CHANGES.ja.md を見てください。
TODO
<del>利用するブラウザを紐付けする attach コマンドを追加 (v0.1.0a2)</del> 見直し
<del>ブラウザの紐付けを解除する detach コマンドを追加 (v0.1.0a3)</del> 見直し
設定ファイルに書かれたブラウザとプロファイルから セッション情報をロードする機能を追加 (v0.1.0a3)
動画の情報を表示する getflv コマンドを追加 (v0.1.0)
コマンドを追加する方法のドキュメントを書く (v1.0.0までには書く)
Copyright 2015-2016 Masayuki Yamamoto
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.