Metadata-Version: 2.1
Name: yt-finder
Version: 1.0.1
Summary: Perform YouTube video searches without the API. Fork of youtube-search
Home-page: https://github.com/Weever1337/yt-finder
Author: Weever, Joe Tatusko
Author-email: weever1337@gmail.com
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: aiohttp

# yt_finder - Fork of 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 yt-search```

```python
from yt_finder import YoutubeSearch
import asyncio

async def main():
    search = YoutubeSearch("python", max_results=5, language="en", region="US")
    videos = await search.search()
    for video in videos:
        print("=" * 20)
        print(f"Title: {video.get_title()}")
        print(f"URL: {video.get_yt_url()}")
        print("=" * 20)

if __name__ == "__main__":
    asyncio.run(main())
```
