A simple client for mining YouTube Trend data.
Systems:
- MongoDB (on host or extern)
- Mongo Express (optional)
- Python-Client
- Add your API Key and Mongo credentials.
- Install docker-compose
- Do command:
sudo docker-compose up -d
If you want to shutdown the service only type:
sudo docker-compose down
- Only put your MongoDB settings to sample.env and rename it to .env.
- Install dependencies with pip
pip install requirements.txt
- Then run
python src/main.py
- Clone this github repository to a folder (e.g.
~/Programs/
) - Add it to crontabs for repeatly update
crontab -e
*/1 * * * * python3 ~/Programs/youtube_mining/src/main.py >> ~/Programs/youtube_mining/output.log 2>&1
- Check output.log for output
To update the client, go to youtube_mining folder and type git pull
My finished analysis blog post comming soon!