semvec/pypi-packages huggingface dataset:
yt-channel-subscribe 1.0.1
A python library to subscribe channel on youtube automatically.
License: Apache License 2.0
Keywords: youtube python btstudio automation channel subscribe login

Yt-Channel-Subscribe is a python library to subscribe youtube channel automatically.It currently runs only on windows.

### Example
In this example we first import library, then we login with cookies, then we subscribe channel on youtube.
```sh
from yt_channel_subscribe import *
true=True;false=False
list_of_cookies=[
{
    "domain": ".youtube.com",
    "expirationDate": 1676431710.556339,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__Secure-3PAPISID",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "ZyIV9eK7BkQoQ36b/AmdNVfNhZBCfBCbHV",
    "id": 1
}]
#please replace the above sample cookies with your cookies, can see below link of how to fetch cookies
youtube.login_cookie(cookies=list_of_cookies)
youtube.auto_subscribe(channel_url='https://www.youtube.com/channel/UCSaf-7p3J_N-02p7jHzm5tA')
```

This module depends on the following python modules
* [requests](https://pypi.org/project/requests/)
* [btstudio](https://pypi.org/project/btstudio/)

#### BtStudio
[btstudio](https://pypi.org/project/btstudio/) is needed for browser automation. As soon as this library is imported in code, automated browser will open up. To subscribe first login will need to be done. Login can be done either with credentials or via cookies

Complete documentation for YouTube Automation available [here](https://youtube-api.datakund.com/en/latest/)

### Installation

```sh
pip install yt-channel-subscribe
```

### Import
```sh
from yt_channel_subscribe import *
```

### Login with credentials
```sh
youtube.login(username="youtube username",password="youtube password")
```

### Login with cookies
```sh
youtube.login_cookie(cookies=list_of_cookies)
```

### Subscribe
```sh
youtube.auto_subscribe(channel_url='channel_url')
```

### Send Feedback to Developers
```sh
btstudio.send_feedback(feedback="Need help with this ......")
```

### Cookies
To login with cookies [Edit this Cookie Extension](https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg?hl=en) can be added to browser. Please check [this](https://abhishek-chaudhary.medium.com/how-to-get-cookies-of-any-website-from-browser-22b3d6348ed2) link how to get cookies to login to your youtube.
### Contact Us
* [Telegram](https://t.me/datakund)
* [Website](https://datakund.com)
yt-video-viewer 1.0.0
A python library to watch video on youtube automatically.
License: Apache License 2.0
Keywords: youtube python btstudio automation video view watch login

Yt-Video-Viewer is a python library which watch the video till the length(time) provided using browser automation. 
It currently runs only on windows.

### Example
In this example we first import library, then we watched video using simple function.
```sh
from yt_video_viewer import *
youtube.watch_video(time='160', video_url='https://www.youtube.com/watch?v=LMmuChXra_M') #provide time in seconds
```

This module depends on the following python modules
* [requests](https://pypi.org/project/requests/)
* [btstudio](https://pypi.org/project/btstudio/)

#### BtStudio
[btstudio](https://pypi.org/project/btstudio/) is needed for browser automation. As soon as this library is imported in code, automated browser will open up in which video will be opened.

Complete documentation for YouTube Automation available [here](https://youtube-api.datakund.com/en/latest/)

### Installation

```sh
pip install yt-video-viewer
```

### Import
```sh
from yt_video_viewer import *
```

### Watch video
```sh
response=youtube.watch_video(time='160', video_url='video link')
```

### Send Feedback to Developers
```sh
btstudio.send_feedback(feedback="Need help with this ......")
```

### Contact Us
* [Telegram](https://t.me/datakund)
* [Website](https://datakund.com)