Skip to main content

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

fast_youtube_search-0.0.8.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

fast_youtube_search-0.0.8-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page