Perform YouTube video searches without the API
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
youtube-search-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for youtube_search-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81e6c5096b6ab127a379af03220bd21691192bf81ed2e76afe66b7dcec438c8 |
|
MD5 | 7e3fd3d415d3e99062636f0494c368c7 |
|
BLAKE2b-256 | 0d685dd3aaa57b9137b68a3e47b9165538069b2870dee5314d966b160f05b40e |