semvec/pypi-packages huggingface dataset:
yt-auto-search-python 1.0.0
A python library to search keyword on youtube and get search results automatically.
License: Apache License 2.0
Keywords: youtube python btstudio automation search search-results web-scraping data

Yt-Auto-Search-Python is a python library to search keyword automatically on youtube and get search results using browser automation. 
It currently runs only on windows.

### Example
In this example, we are searching a keyword and then getting search results. 
```sh
from yt_auto_search_python import *
youtube.search(keyword='cbse exams')
response=youtube.search_results()
data=response['body']
#data=[{"viewsandtime": "220K views 2 months ago", "channel": "the quint", "title": "CBSE Exams 2021: When Will Board Exams Happen?", "link": "https://www.youtube.com/watch?v=KSg1RleLs3M"},{},...]
```


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

#### BotStudio
[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. Then you can search on browser using simple functions and get search results.

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

### Installation

```sh
pip install yt-auto-search-python
```

### Import
```sh
from yt_auto_search_python import *
```

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

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

### Search
```sh
youtube.search(keyword='search keyword')
```

### Search Results
```sh
response=youtube.search_results()
data=response['body']
```

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

### Contact Us
* [Telegram](https://t.me/datakund)
* [Website](https://datakund.com)
yt-video-scraper-python 1.0.0
A python library to scrape video data from youtube automatically.
License: Apache License 2.0
Keywords: youtube python btstudio video info scraper data web-scraping

Yt-Video-Scraper-Python is a python library to scrape youtube video data using browser automation. 
It currently runs only on windows.

### Example
In this example we first import library, then we fetched data using simple function.
```sh
from yt_video_scraper_python import *
response=youtube.get_video_info(video_url='https://www.youtube.com/watch?v=LMmuChXra_M')
data=response['body']
#data={"DisLikes": "4.8K", "Title": "OM Chanting @ 528Hz", "Subscribers": "3.66M", "Comments": "2631", "ChannelLink": "https://www.youtube.com/channel/UCM0YvsRfYfsniGAhjvYFOSA", "ChannelName": "Meditative Mind", "Desc": "OM is the mantra, or vibrations that is chanted in the beginning and end of any Meditation or Yoga ", "Views": "9,737,330 views", "Duration": "3:20:02", "Publish_Date": "17 Aug 2016", "Likes": "84K"}
```

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

#### BotStudio
[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-scraper-python
```

### Import
```sh
from yt_video_scraper_python import *
```

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

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

### Get video info
```sh
response=youtube.get_video_info(video_url='video_url')
data=response['body']
```

### Get only limited data
```sh
response=youtube.get_video_info(video_url='video_url',fields=['Subscribers'])
data=response['body']
#data={"Subscribers":""}
```

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

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