Skip to content

mikhailsinyakov/youtube_channel_bot

Repository files navigation

Youtube channel bot

Telegram bot to search youtube channels using filters. You can find the bot at http://t.me/youtube_channel2_bot The bot uses the YouTube data API to find channels and the htmlcsstoimage API to convert html to image to make results more beautiful.

Using the bot

There are several supported commands:

  • /show_filters shows your current filters
  • /edit_filters gives you an opportunity to change your filters
  • /search searching youtube channels using your filters

You can filter by:

  1. the number of subscribers
  2. the number of videos
  3. the number of views
  4. the average views by video

Creating your bot

Prerequisites

Python 3.10.x installed

Installation

git clone https://github.com/mikhailsinyakov/youtube_channel_bot.git
cd youtube_channel_bot
python3 -m pip install -r requirements.txt
BOT_API_TOKEN = {YOUR_API_TOKEN}
GOOGLE_API_KEY = {YOUR_GOOGLE_API_TOKEN}
HTMLCSS_TO_IMAGE_USER_ID = {YOUR_USER_ID}
HTMLCSS_TO_IMAGE_API_KEY = {YOUR_API_KEY}

Run it

python3 bot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published