Unlimited youtube search with web scrapping
Project description
Fast Youtube Search
This is a simple library that allows you to search videos on Youtube.
It is fast because it doesn't use selenium.
For each video it returns the name, id , and the thumbnail's url.
Install
pip install fast-youtube-search
Usage
from fast_youtube_search import search_youtube
results = search_youtube(['jorja', 'smith']) # receives an array of search terms as argument
print(results) #returns a list of results(dictionaries)
print(results[0]) # a dictionary with properties name, id and img
# OUTPUT
# {
# 'name': 'Jorja Smith - Blue Lights | A COLORS SHOW',
# 'id': 'fYwRsJAPfec',
# 'img': 'https://i.ytimg.com/vi/fYwRsJAPfec/hqdefault.jpg'
# }
#Optional arguments
# max_num_results : max number of results that the function returns
results = search_youtube(['jorja', 'smith'], max_num_results = 2)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fast_youtube_search-0.0.8.tar.gz
.
File metadata
- Download URL: fast_youtube_search-0.0.8.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1d2be4ea0d9fe4ff26a59a96e75600719db2005f040d4fec711f87f7114a6347
|
|
MD5 |
6f8ba267a26f5090f6cfa47dbf7cdc5f
|
|
BLAKE2b-256 |
b24ab3e693bec8288bc0d282dfd0e32b5a73595fceb4cddd97b3865bf6dfb563
|
File details
Details for the file fast_youtube_search-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: fast_youtube_search-0.0.8-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
aaa0320bc789041e01e2022fa7c5349a9db1470b4fab8bdaef82c186dfd4e0fb
|
|
MD5 |
0b8eca08f1c8638e8c524c80c1e84159
|
|
BLAKE2b-256 |
3938b33c0d61ac959b7822edfeca72a252b0afb8efd2baa6f0c319060975c394
|