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 details)
Built Distribution
File details
Details for the file youtube-search-2.1.2.tar.gz
.
File metadata
- Download URL: youtube-search-2.1.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5749a6d8076fda65557c91367f0fab0936290ecdea457c831c9f3f05918a3aa2
|
|
MD5 |
f4b937e61af29d66eb6fe86f1a732da5
|
|
BLAKE2b-256 |
d16687d6d426e6e7cbd9b675d712f2538d55023cb9394411e54cdb60cdc9e002
|
File details
Details for the file youtube_search-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: youtube_search-2.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f9cfaaf7c59806777eb29d3b8acee96b50e80f73a0621c2bb220d4e5beb09e4f
|
|
MD5 |
8bbeb3fb37d9dc2decfdc14a48f47e4a
|
|
BLAKE2b-256 |
004e548b906dd72bb51f700feb4f2200de3e0c64b34509d3173afb196ad7f1b9
|