Skip to content

sangramkapre/youtube-history-wordcloud

Repository files navigation

This is a short script to quickly create a fun Word-Cloud from the titles of the YouTube videos watched (fetched from the Chrome browser's history). I never thought such a simple word-cloud could imply so much about one's personality (likes, interests, mood, etc.) !

Getting Started

Clone this repository (or download and extract the ZIP) and navigate to youtube-history-wordcloud folder.

To clone the repository:

git clone https://github.com/sangramkapre/youtube-history-wordcloud.git
cd youtube-history-wordcloud

Prerequisites

This script has been tested on Python3 so far. Also, if you prefer to create a virtual environment (highly recommended), run following commands:

virtualenv --python /usr/bin/python3 venv
source venv/bin/activate

Then, install the required packages from requirements.txt:

pip install -r requirements.txt

Important !: Make sure to update the youtube_history_wordcloud.py with appropriate paths to input/output, etc.

Create word cloud from watched YouTube videos!

python youtube_history_wordcloud.py

Example Output

Here is what I got from my YouTube history, thanks to ongoing Champions Leage, and Manchester United being in form :P

Youtube History WordCloud

About

YouTube History WordCloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages