-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
************************************************** | ||
Auto Like | ||
************************************************** | ||
It likes the video passed in ``video_url``. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.auto_like(video_url="video_url") | ||
:param str video_url: Video url which need to be liked | ||
:return: {} | ||
:rtype: dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
************************************************** | ||
Auto Subscribe | ||
************************************************** | ||
It subscribes the channel passed in ``channel_url``. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.auto_subscribe(channel_url="channel_url") | ||
:param str channel_url: Channel url which need to be subscribed | ||
:return: {} | ||
:rtype: dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
************************************************** | ||
Channel Videos | ||
************************************************** | ||
It fetches the channel videos from page opened in browser. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.channel_videos() | ||
:return: [{'Title': 'Title', 'Video_Link': 'Video_Link'}] | ||
:rtype: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
************************************************** | ||
Get Video | ||
************************************************** | ||
It fetches the information of video passed in ``video_url``. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.get_video(video_url="video_url") | ||
:param str video_url: Video url whose information need to be fetched | ||
:return: {'Title': 'Title', 'Publish_Date': 'Publish_Date', 'Subscribers': 'Subscribers', 'Desc': 'Desc', 'Views': 'Views', 'DisLikes': 'DisLikes', 'Comments': 'Comments', 'ChannelLink': 'ChannelLink', 'Duration': 'Duration', 'Likes': 'Likes', 'ChannelName': 'ChannelName'} | ||
:rtype: dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
************************************************** | ||
Live Chat | ||
************************************************** | ||
It fetches the live chat of any video opened in browser. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.live_chat() | ||
:return: [{'Message': 'Message', 'User': 'User', 'Column A': 'Column A'}] | ||
:rtype: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
************************************************** | ||
Login | ||
************************************************** | ||
It logins to youtube through the credentials passed in ``username`` and ``password``. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.login(username="username",password="password") | ||
:param str username: Account username | ||
:param str password: Account password | ||
:return: {} | ||
:rtype: dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
************************************************** | ||
Skip Ad | ||
************************************************** | ||
It waits for the Skip Ad button and then clicks on it. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.skip_ad() | ||
:return: {} | ||
:rtype: dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
************************************************** | ||
Upload | ||
************************************************** | ||
It uploads the video to youtube. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.upload(title="title",description="description",kid_type="kid_type",video_path="video_path",playlist="playlist",type="type") | ||
:param str title: Video Title | ||
:param str description: Description of video | ||
:param str kid_type: e.g No, it's not Made for Kids | ||
:param str video_path: Full Video file path | ||
:param str playlist: | ||
:param str type: e.g public, private | ||
:return: {'VideoLink': 'VideoLink'} | ||
:rtype: dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
************************************************** | ||
Video Comments | ||
************************************************** | ||
It fetches the comments of the video opened in browser. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.video_comments() | ||
:return: [{'User': 'User', 'Column A': 'Column A', 'Comment': 'Comment', 'UserLink': 'UserLink', 'Replies': 'Replies'}] | ||
:rtype: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
************************************************** | ||
Watch Later Videos | ||
************************************************** | ||
It fetches the videos from watch later playlist. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.watch_later_videos() | ||
:return: [{'Title': 'Title', 'Video_Link': 'Video_Link'}] | ||
:rtype: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
************************************************** | ||
Watch Video | ||
************************************************** | ||
It watch the video passed in ``video_url`` for the amount of time passed in ``time``. | ||
|
||
Here is the code:- | ||
|
||
.. py:function:: youtube.watch_video(time="time",video_url="video_url") | ||
:param str time: Amount of time to waatch the video | ||
:param str video_url: Video url which need to be watched | ||
:return: {} | ||
:rtype: dict |