youtube_search
Python function for searching for youtube videos to avoid using their heavily rate-limited API
To avoid using the API, this uses the form on the youtube homepage and scrapes the resulting page.
Example Usage
For a basic search (and all of the current functionality), you can use the search tool as follows:
pip install youtube-search
from youtube_search import YoutubeSearch
results = YoutubeSearch('search terms', max_results=10).to_json()
print(results)
# returns a json string
########################################
results = YoutubeSearch('search terms', max_results=10).to_dict()
print(results)
# returns a dictionary
Metadata
Release files for youtube-search 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| youtube_search-2.2.0.tar.gz | 3.3 kB | Without provenance | Details for youtube_search-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| youtube_search-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for youtube_search-2.2.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / youtube_search-2.2.0.tar.gz
| Download URL | youtube_search-2.2.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5398a7cd65d9b75a8bac27ef689ec044abab3cbfa1f20d19db0277659ac70d98
|
|
BLAKE2b-256 checksum How to use checksums |
5f13153d6841d0a9850e956f2f99987185c5b8477cc36fbabca24c4acf0321ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.5
|
Release files / youtube_search-2.2.0-py3-none-any.whl
| Download URL | youtube_search-2.2.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdffbb5b22d7a7c85a88e6eeb6b00c5b5dbd29ea7b95139d21b8b8dab2ca5871
|
|
BLAKE2b-256 checksum How to use checksums |
0f3d7285e86e6390801fb177763a9cf1d81762487f98b3872ab5e1080bb82602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.5
|
Security for youtube-search 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.