Search for YouTube videos, channels, and playlists on this site. Use the link to get video and playlist details. Get a list of possible search terms. V3.0 of the YouTube Data API is not required.
Since June 23, 2022, there have been no active project maintainers. Here are the specifics:
pip install youtube-search-python
Sync
Search for only videos
1 2 3 4 5 |
from youtubesearchpython import VideosSearch
videosSearch = VideosSearch('NoCopyrightSounds', limit = 2)
print(videosSearch.result()) |
1 2 3 4 5 |
from youtubesearchpython.__future__ import VideosSearch
videosSearch = VideosSearch('NoCopyrightSounds', limit = 2) videosResult = await videosSearch.next() print(videosResult) |
1 2 3 4 5 |
from youtubesearchpython import ChannelsSearch
channelsSearch = ChannelsSearch('NoCopyrightSounds', limit = 10, region = 'US')
print(channelsSearch.result())
|
1 2 3 4 5 |
from youtubesearchpython import PlaylistsSearch
playlistsSearch = PlaylistsSearch('NoCopyrightSounds', limit = 1)
print(playlistsSearch.result()) |
1 2 3 4 5 |
from youtubesearchpython import *
customSearch = CustomSearch('NoCopyrightSounds', VideoSortOrder.uploadDate, limit = 1)
print(customSearch.result()) |
1 2 3 4 5 |
from youtubesearchpython import Search
allSearch = Search('NoCopyrightSounds', limit = 1)
print(allSearch.result()) |