Skip to content

shipwebdotjp/youtubechecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Subscriber Checker

ICON

This is a web service on Python-Flask frame work.
You can LINE/Google login and link with LINE Notify. You can also list some Youtube channels id.
Notificate number of subscriber and total view count of specific Youtube Channel via LINE once a day.
you can download these data as csv file. The transition includes in the data. To use Excel you can also draw a graph.

PythonのFlaskフレームワーク上で動くWebサービス。
LINE/Googleでのシングルサインオン機能,LINE Notifyとの連携機能を持つ。
指定したYoutubeチャンネルの登録者数,総再生数と増減を毎日一回LINEで通知
登録者数,再生数,動画数のデータをチャンネルごとにCSVファイルでダウンロード可能
指定した動画の再生数やコメント数、いいねの数の推移も通知や記録可能
それらのデータの推移知ることができ,Excelなどで読み込むことでグラフ表示も可能。

LINE

Need API Keys

  • LINE Notify token(for developers)
  • LINE login channel(ID and secret)
  • LINE messaging channel access token
  • LINE Notify service(Client ID and secret)
  • Google Data API Key
  • Google OAuth client ID
  • Google OAuth client secret

必要なAPI

  • LINE Notify トークン(開発者向け)
  • LINE ログインチャンネル(IDとシークレット)
  • LINE メッセージングチャンネル アクセストークン
  • LINE Notify サービス(クライアントIDとシークレット)
  • Google Data APIキー
  • Google OAuth クライアントID
  • Google OAuth クライアントシークレット

Setting

  1. input needed API Key to .env file. (you can copy .env.sample to .env and edit it.)
    .envファイルに必要なAPIのキーを記入。(.env.sampleをコピーして使用可能)

Requirements

  • Dcoker
  • Python 3
  • Flask

Install

git clone https://github.com/shipwebdotjp/youtubechecker
cd youtubechecker
cp ./app/.env.sample ./app/.env
vi ./app/.env
--Edit Your Keys
:wq

Run with Docker

make init
make run

Then, Check http://localhost:5000/

Run on production mode

If you want to run on production mode, edit docker-compose.yml

    ports:
      - "5000:80"
    FLASK_ENV: production

Data file output

You can download csv file from /channellist which contains current data of all channels.
If you want to see the history, see the each channel page. You can find CSV Download button.

channels-%y%M%D.csv for example channels-201002.csv

"Channel Id","Channel name","Published at","subscriberCount","subscriberChange","viewCount","viewChange","videoCount","videoChange","commentCount","commentChange"
"UCne2IBkAj3JoyzNAOzXxKMg","shipweb","2015-11-29 10:55:00","52","0","17841","0","17","0","0","0"

'Channel name'-%y%M%D.csv for example shipweb-201002.csv

"Date","subscriberCount","subscriberChange","viewCount","viewChange","videoCount","videoChange","commentCount","commentChange"
"2020-10-02 00:02:01","52","0","17841","0","17","0","0","0"

Demo site

Youtube Checker

Author

ship Youtube channel

Youtube Video

thumbnail

License

MIT License

About

Notify number of subscriber and changes and so on of specific Youtube Channel via LINE notify once a day.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages