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-2.1.2.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for youtube_search-2.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9cfaaf7c59806777eb29d3b8acee96b50e80f73a0621c2bb220d4e5beb09e4f |
|
MD5 | 8bbeb3fb37d9dc2decfdc14a48f47e4a |
|
BLAKE2b-256 | 004e548b906dd72bb51f700feb4f2200de3e0c64b34509d3173afb196ad7f1b9 |