https://github.com/d60/youtube-search
https://github.com/d60/youtube-search
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/d60/youtube-search
- Owner: d60
- Created: 2025-01-27T05:02:36.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-28T03:26:38.000Z (12 months ago)
- Last Synced: 2025-07-19T03:38:07.389Z (6 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YouTube Search
## Installing
```
pip install git+https://github.com/d60/youtube-search.git
```
## Quick Examples
```python
from ytsearch import Search
search = Search()
# Search videos
videos = search.search_videos(
'search query here',
duration='4 - 20 minutes',
sort_by='Rating',
upload_date='This year'
)
next_videos = videos.next()
# Search channels
channels = search.search_channels(
'search query here',
)
next_channels = channels.next()
# Search playlists
playlists = search.search_playlists(
'search query here',
)
next_playlists = playlists.next()
```