Git Product home page Git Product logo

youtube-mining's Introduction

Youtube Mining

A simple client for mining YouTube Trend data.

Systems:

  • MongoDB (on host or extern)
  • Mongo Express (optional)
  • Python-Client

Installation

Docker

  1. Add your API Key and Mongo credentials.
  2. Install docker-compose
  3. Do command: sudo docker-compose up -d

If you want to shutdown the service only type: sudo docker-compose down

Local

  1. Only put your MongoDB settings to sample.env and rename it to .env.
  2. Install dependencies with pip pip install requirements.txt
  3. Then run python src/main.py

On Raspberry pi

  1. Clone this github repository to a folder (e.g. ~/Programs/)
  2. Add it to crontabs for repeatly update crontab -e */1 * * * * python3 ~/Programs/youtube_mining/src/main.py >> ~/Programs/youtube_mining/output.log 2>&1
  3. Check output.log for output

To update the client, go to youtube_mining folder and type git pull

YouTube Trend Analysis

My finished analysis blog post comming soon!

youtube-mining's People

Contributors

bitnulleins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.