aytch-0.1.0
توضیحات
Async YouTube Channels Info
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aytch-0.1.0 |
| نام | aytch |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kiel Ed |
| ایمیل نویسنده | kieledssh@gmail.com |
| آدرس صفحه اصلی | https://github.com/kieled/aytch |
| آدرس اینترنتی | https://pypi.org/project/aytch/ |
| مجوز | MIT |
<h2 align="center">:small_red_triangle: AYTCH - Async YouTube Channels Info :small_red_triangle:</h2>

<p align="center">Inspired by <a href="https://github.com/FreeTubeApp/yt-channel-info">yt-channel-info</a></p>
AYTCH is a Python library for extracting information about YouTube channels. It uses web scraping techniques to retrieve data from YouTube's web pages without any API keys and limits.
## :pencil2: Installation
You can install YoutubeGrabber using pip:
```python
pip install aytch
```
## :bookmark_tabs: Usage
Here's an example of how to use YoutubeGrabber to get information about a YouTube channel:
```python
import asyncio
from aytch import get_channel_info
async def main():
channel_url = 'https://www.youtube.com/channel/UCdX9ulb8u0oUf8pUzg9Z5Jw'
channel_info = await get_channel_info(channel_url)
print(channel_info)
asyncio.run(main())
```
## :link: API
```python
get_channel_info(
channel_url: URL,
lang: 'en' | 'ru' = 'en'
) -> dict
```
Retrieves information about a YouTube channel.
#### Parameters:
* **channel_url (str)**: _The URL of the YouTube channel to get information about._
* **lang (str)**: _The language of the YouTube page. Can be either 'en' or 'ru'. Defaults to 'en'._
#### Returns:
A dictionary containing the following information about the channel:
* **author (str)**: _The name of the channel's author._
* **author_id (str)**: _The external ID of the channel's author._
* **author_url (str)**: _The URL of the channel's author._
* **author_thumbnail (str)**: _The URL of the channel's author's thumbnail image._
* **subscriber_count (int)**: _The number of subscribers to the channel._
* **description (str)**: _The description of the channel._
* **view_count (str)**: _The total number of views on the channel._
## :recycle: Contributing
Contributions to aytch are welcome! If you'd like to contribute, please fork the repository and make a pull request.
License
aytch is licensed under the MIT License. See LICENSE for more information.
نیازمندی
| مقدار | نام |
|---|---|
| >=3.8.4,<4.0.0 | aiohttp |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl aytch-0.1.0:
pip install aytch-0.1.0.whl
نصب پکیج tar.gz aytch-0.1.0:
pip install aytch-0.1.0.tar.gz