A bot that updates about the most subscribed artist' channels on YouTube

Overview

Check updated stats Weekly report Retweets daily Twitter Follow

icon

Most Subscribed YouTube Music Channels

This Python bot checks the most subscribed music artist channels on YouTube and makes a top chart.

It runs (almost) 24/7 thanks to GitHub Actions.

How to see the charts

Web App

You see the charts on the web app in a nice Material UI.

The website can be "installed" as Web App on Android, iOS and Windows 10.

It has the benefits of the app and the advantages of the web: it takes zero space in memory but it can also work offline as a normal app would.

Imgur

Using a console

Assuming that you have Python3 and pip installed on your machine:

  1. clone https://github.com/marco97pa/MostSubYTMusicChannels.git
  2. cd MostSubYTMusicChannels
  3. pip install rich
  4. ./show.py

Imgur

Add a new artist

You can request a new artist (channel) to track by:

  • Sending a direct message on Twitter
  • Opening a new issue on Github
  • Propose a change on the channels.csv file

Remember that only single music artist channels are approved and that it should have at least half subscribers of the most subscribed channel on YouTube.

Example:
As of January 2020, Justin Bieber is the first with 60 Million subscribers.
Only channels with at least 30 Million will be accepted.

How it works (for developers)

The script is the main.py.

Data is stored in channels.csv and it is updated every 5 ~ 30 minutes using GitHub Actions

Build your own

To build your own (maybe the Most subscribed YouTube Cooking channels?): 0. Clone this repository

  1. Get your API Keys from YouTube
  2. Paste them in the main.py file or set them as environment variables
  3. Run main.py to check for new updates on the subscribers of the channels listed in channels.csv

About the web app

The web app is written in React using the Ionic5 framework.

Source is stored in the /webapp directory of the main branch. The site is deployed on the gh-pages branch instead.

To deploy the website, follow this really helpful guide and make sure that the generated index.html has the right paths to scripts, CSSes and other resources.

You might also like...
YouTube-Discord-Bot - Discord Bot to Search YouTube
YouTube-Discord-Bot - Discord Bot to Search YouTube

YouTube Bot Info YouTube Bot is a discord bot where you can search for anything

The most versatile torrent leecher and youtube-dl bot for telegram

TorToolkit Telegram So basically Tortoolkit is aimed to be the most versatile torrent leecher and youtube-dl bot for telegram. This bot is highly cust

This bot plays the most recent video from the Daily Silksong News Youtube Channel whenever a specific user enters voice chat once a day.

Do you have that one friend that really likes Hollow Knight. Are they waiting for Silksong to come out? Heckle them with this Discord bot.

Mini Tool to lovers of debe from eksisozluk (one of the most famous website -reffered as collaborative dictionary like reddit- in Turkey) for pushing debe (Most Liked Entries of Yesterday) to kindle every day via Github Actions.

debe to kindle Mini Tool to lovers of debe from eksisozluk (one of the most famous website -refered as collaborative dictionary like reddit- in Turkey

The most fresh and updateable Telegram userbot. By one of the most active contibutors to GeekTG
The most fresh and updateable Telegram userbot. By one of the most active contibutors to GeekTG

Installation Script installation: Simply run this command out of root: . (wget -qO- http://gg.gg/get_hikka) Manual installation: apt update && apt in

A youtube videos or channels tag finder python module

A youtube videos or channels tag finder python module

This is a simple bot that can be used to upload images to a third-party cloud (image hosting). Currently, only the imgbb.com website supports the bot. I Will do future updates

TGImageHosting This is a simple bot that can be used to upload images to a third party cloud (image hosting). Currently, only the imgbb.com website su

A Telegram Bot to Play Audio in Voice Chats With Youtube and Deezer support. Supports Live streaming from youtube Supports Mega Radio Fm Streamings

Bot To Stream Musics on PyTGcalls with Channel Support. A Telegram Bot to Play Audio in Voice Chats With Supports Live streaming from youtube and Mega

A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations)

YTPlaylistDL 📛 A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations) 🎯 Follow me and sta

Comments
  • Numeric hashtags

    Numeric hashtags

    Issue:

    As you can see in this tweet, the bot posted a tweet using a numeric hashtag (which is not valid).

    Solution:

    We should edit the gen_hashtags(s) function to check if the hashtag to be added is numeric or not

    opened by marco97pa 0
  • Catch Tweet Duplicate Error

    Catch Tweet Duplicate Error

    Sometimes Tweepy could trigger a Tweet Duplicate Error if the last tweet posted and the new one you are trying to post is the same or almost the same.

    For example, if an artist increases his subs by 0.2 in one hour, the Bot will try to post two tweets almost the same but with a single digit changed. This could lead to that error.

    To fix it we need to catch the error and continue execution without posting anything on Twitter. This way we can still continue to edit the contents of channel.csv. If the execution is terminated due to this error, the side effect is that the channel.csv is not written with the new data and could possibly lead to more errors like this.

    Traceback:

    Traceback (most recent call last):
      File "main.py", line 211, in <module>
        channels = update_subscribers(response, channels)
      File "main.py", line 90, in update_subscribers
        subs_notify_change(channel)
      File "main.py", line 101, in subs_notify_change
        twitter_post("{} reached {} Million subscribers on YouTube\n@{} #music #youtube #stats".format(channel["name"], int(channel["subs"])/1000000, channel["username"]))
      File "main.py", line 155, in twitter_post
        api.update_status(message)
      File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/tweepy/api.py", line 205, in update_status
        return bind_api(
      File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/tweepy/binder.py", line 253, in _call
        return method.execute()
      File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/tweepy/binder.py", line 234, in execute
        raise TweepError(error_msg, resp, api_code=api_error_code)
    tweepy.error.TweepError: [{'code': 187, 'message': 'Status is a duplicate.'}]
    
    bug 
    opened by marco97pa 0
Owner
Marco Fantauzzo
Love playing with computers and similar since my childhood. Always looking for new technologies Android, Java, C, C++, Python, HTML, CSS, JavaScript & PHP
Marco Fantauzzo
Techie Sneh 19 Dec 3, 2021
Google Drive, OneDrive and Youtube as covert-channels - Control systems remotely by uploading files to Google Drive, OneDrive, Youtube or Telegram

covert-control Control systems remotely by uploading files to Google Drive, OneDrive, Youtube or Telegram using Python to create the files and the lis

Ricardo Ruiz 52 Dec 6, 2022
Mass-unscrobble Last.fm scrobbles based on artist, track title, or time of day of the scrobble.

Unscrobbler This program is designed to mass-unscrobble Last.fm scrobbles based on artist, track title, or time of day of the scrobble. For example, i

Nathan 6 Nov 4, 2022
Tubee is a web application, which runs actions when your subscribed channel upload new videos

Tubee is a web application, which runs actions when your subscribed channel upload new videos, think of it as a better IFTTT but built specifically for YouTube with many enhancements.

Tomy Hsieh 11 Jan 1, 2023
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram VCVideoPlayBot An Telegram Bot By @ZauteKm To Stream Videos in Telegram Voice Chat. NOTE: Make sure you have started a VoiceChat in your Grou

Zaute 20 Oct 21, 2022
📢 Video Chat Stream Telegram Bot. Can ⏳ Stream Live Videos, Radios, YouTube Videos & Telegram Video Files On Your Video Chat Of Channels & Groups !

Telegram Video Chat Bot (Beta) ?? Video Chat Stream Telegram Bot ?? Can Stream Live Videos, Radios, YouTube Videos & Telegram Video Files On Your Vide

brut✘⁶⁹ // ユスフ 15 Dec 24, 2022
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

SUBIN 449 Dec 27, 2022
Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & runs for 24x7 hours.

PowerfulBotStatus-IDN-C-X Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & ru

IDNCoderX 5 Oct 6, 2022
JAKYM, Just Another Konsole YouTube-Music. A command line based Youtube music player written in Python with spotify and youtube playlist support

Just Another Konsole YouTube-Music Overview I wanted to create this application so that I could use the command line to play music easily. I often pla

Mayank Jha 73 Jan 1, 2023