Merge branch 'develop'
This commit is contained in:
28
README.md
28
README.md
@@ -13,11 +13,8 @@ info.get_title()
|
|||||||
info.get_channel_id()
|
info.get_channel_id()
|
||||||
```
|
```
|
||||||
## Function
|
## Function
|
||||||
### get_info(video_id, session)
|
|
||||||
|
|
||||||
Returns
|
### get_info(video_id, session)
|
||||||
-------
|
|
||||||
+ VideoInfo object.
|
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
@@ -25,37 +22,42 @@ Parameters
|
|||||||
|
|
||||||
- session : session object of requests.
|
- session : session object of requests.
|
||||||
|
|
||||||
|
Returns
|
||||||
|
-------
|
||||||
|
+ VideoInfo object.
|
||||||
|
|
||||||
|
|
||||||
## Attributes of VideoInfo object
|
## Attributes of VideoInfo object
|
||||||
|
|
||||||
### get_duration()
|
### get_duration()
|
||||||
- 動画の長さ(アーカイブのみ。ライブ動画または待機画面の場合0)
|
- 動画の長さ(秒。アーカイブのみ。ライブ動画または待機画面の場合、0が返ります。)
|
||||||
|
|
||||||
### get_title()
|
### get_title()
|
||||||
- 動画タイトル
|
- 動画タイトル
|
||||||
|
|
||||||
### get_title_escaped()
|
### get_title_escaped()
|
||||||
- 動画タイトル(絵文字なし。GUIライブラリ等で絵文字が含まれていてエラーが出る場合はこちらを使用してください)
|
- 動画タイトル(絵文字なし。GUIライブラリ等で絵文字が含まれていてエラーが出る場合はこちらを使用してください)
|
||||||
|
|
||||||
### get_channel_id()
|
### get_channel_id()
|
||||||
- チャンネルID
|
- チャンネルID
|
||||||
|
|
||||||
### get_thumbnail()
|
### get_thumbnail()
|
||||||
- 動画サムネイルURL
|
- 動画サムネイルURL
|
||||||
|
|
||||||
### get_owner_name()
|
### get_owner_name()
|
||||||
- 配信者名
|
- 配信者名
|
||||||
|
|
||||||
### get_owner_name_escaped()
|
### get_owner_name_escaped()
|
||||||
- 配信者名(絵文字なし)
|
- 配信者名(絵文字なし)
|
||||||
|
|
||||||
### get_owner_image()
|
### get_owner_image()
|
||||||
- 配信者プロフィール画像URL
|
- 配信者プロフィール画像URL
|
||||||
|
|
||||||
### get_user_name()
|
### get_user_name()
|
||||||
- 視聴者名
|
- 視聴者名
|
||||||
|
|
||||||
### get_user_name_escaped()
|
### get_user_name_escaped()
|
||||||
- 視聴者名(絵文字なし)
|
- 視聴者名(絵文字なし)
|
||||||
|
|
||||||
### get_user_image()
|
### get_user_image()
|
||||||
- 視聴者プロフィール画像URL
|
- 視聴者プロフィール画像URL
|
||||||
|
|||||||
Reference in New Issue
Block a user