Metadata-Version: 2.1
Name: fast_youtube_search
Version: 0.0.5
Summary: Unlimited youtube search with web scrapping
Home-page: https://github.com/andrscyv/fast_youtube_search
Author: Andres Cruz y Vera
Author-email: andrscyv@gmail.com
License: UNKNOWN
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. It scrapes data directly from
        the html of the results page. 
        
        For each video it returns the name, id , and the thumbnail's url.
        # Install 
        ```bash
        pip install fast_youtube_search
        ```
        # Usage
        
        ```python
         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
        # retries : the max number of retries for requesting the results page (see below)
        # max_num_results : max number of results that the function returns
        results = search_youtube(['jorja', 'smith'], retries = 7, max_num_results = 2)
        ```
        # Retries
        
        Youtube sometimes returns html without a list of results. It is necessary 
        to retry a couple of times. Empty results after 3 retries is unlikely 
        (retries = 4 is the default value)
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
