Compare commits

..

5 Commits

Author SHA1 Message Date
taizan-hokuto
b02a2badf7 Merge branch 'develop' 2020-04-17 00:23:38 +09:00
taizan-hokuto
3aee1b276f Increment version 2020-04-17 00:23:27 +09:00
taizan-hokuto
73026b52af Add required module 2020-04-17 00:22:59 +09:00
taizan-hokuto
c88abc600d Merge branch 'develop' 2020-04-17 00:07:41 +09:00
taizan-hokuto
679f2e9bb8 Modify README 2020-04-17 00:07:20 +09:00
3 changed files with 29 additions and 26 deletions

View File

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

View File

@@ -1 +1,2 @@
requests
emoji

View File

@@ -2,7 +2,7 @@
Retriever tool for youtube video information.
"""
__copyright__ = 'Copyright (C) 2020 taizan-hokuto'
__version__ = '0.0.1'
__version__ = '0.0.2'
__license__ = 'MIT'
__author__ = 'taizan-hokuto'
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'