youtube-search-python
Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3
What it is and what it does
youtube-search-python queries YouTube to return video, channel, and playlist metadata without requiring the official Data API v3. It provides both synchronous and asynchronous search interfaces, returning results with titles, view counts, thumbnails, and channel information. The library depends only on httpx for HTTP requests.
The package was last updated on 2022-06-23 and is now archived and unmaintained. While it may still work for basic searches, YouTube's interface changes since then mean functionality could break without warning, and no fixes will be provided.
Use it for:
- Prototype a music discovery tool that searches YouTube for songs and displays metadata
- Build a channel monitoring script that periodically searches for new uploads from creators
- Create a playlist aggregator that searches YouTube and collects video information
- Develop a video analysis tool that gathers search results and metadata for offline study
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Search YouTube for videos, channels, and playlists without the official YouTube Data API, returning metadata like titles, view counts, and thumbnails.
No. The package is abandoned as of 2022-06-23 with no maintenance since then. While it may function for simple searches today, YouTube's ongoing changes mean it will likely break without warning and receive no fixes. For production use, rely on the official YouTube Data API or an actively maintained alternative.
Install
youtube-search-python on PyPI
pip
pip install youtube-search-pythonuv
uv add youtube-search-pythonpoetry
poetry add youtube-search-pythonInstalling youtube-search-python
Before you install
Installation is straightforward with low friction, but the package has been abandoned since June 2022 and is no longer maintained. The repository is archived with no updates or bug fixes expected.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install youtube-search-python
from youtubesearchpython import VideosSearch
videosSearch = VideosSearch('NoCopyrightSounds', limit=2)
print(videosSearch.result())
yt-dlp must be installed separately (pip install yt-dlp) to use StreamURLFetcher as of v1.6.1
Verify before relying
- Whether YouTube's terms of service permit scraping via this library
- Current reliability given YouTube interface changes since June 2022
- Whether yt-dlp integration (required for StreamURLFetcher as of v1.6.1) remains functional
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — httpx |
| Maintenance | abandoned — 1,513 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 134,708/month — #11,464 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: youtube_search_python-1.6.6-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
python-youtubeA Python wrapper for the YouTube Data API V3…
permissive · top 15,000 on PyPI
ytmusicapiytmusicapi lets you programmatically interact…
permissive · top 15,000 on PyPI
pytubepytube downloads YouTube videos and playlists…
permissive · top 5,000 on PyPI
spotapiSpotAPI wraps Spotify's private and public APIs…
unclear · top 15,000 on PyPI
spotipyFreeProvides a Spotipy-compatible interface to…
unclear · top 15,000 on PyPI
spotdlspotDL downloads songs from Spotify playlists…
permissive · top 15,000 on PyPI
micawberExtracts rich metadata (title, author,…
unclear · top 15,000 on PyPI
twelvelabsPython SDK for the TwelveLabs video…
unclear · top 15,000 on PyPI
spotipySpotipy is a Python client library for the…
permissive · top 15,000 on PyPI
brave-search-python-clientA Python client library for the Brave Search…
permissive · top 15,000 on PyPI