Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/w-edward/youtube-keyword-popularity-analyzer

An effort to discover the top trending keywords on Youtube.
https://github.com/w-edward/youtube-keyword-popularity-analyzer

data-analysis node-js numpy python webscraping youtube-api

Last synced: 2 days ago
JSON representation

An effort to discover the top trending keywords on Youtube.

Awesome Lists containing this project

README

        

# Youtube-Keyword-Analyzer
Created with a bunch of Python libraries and Javascript, this is a search engine used to find the current popularity or trend of a certain keyword being used in Youtube's most popular videos. An upwards trend of a certain keyword denotes that the keyword is becoming more popular (attracting more attention) in the **past 7 days**. The algorithm used to evaluate the "trendiness" of a certain keyword is based on the Youtube Search Function, where if a certain keyword is popular enough, the first results when the keyword is used to search videos in Youtube will result in videos with higher viewcounts. Of course, results are based only on videos that are uploaded in the past week and analyzed properly in chronological order.

# Instructions to use:
1. Make sure that you have set up your Node.js environment. If you have not, you can download the latest version from the official Node.js website (https://nodejs.org). Once installed, you can open your terminal and verify the installation by typing `node -v`
2. Go to the directory in which all the cloned files are located, and type in `node app.js` in your terminal. If you've done so, you should get a console response in the form of `Server is running on port XXXX` where XXXX is your port number.
3. Open up your favourite web browser, and paste `http://localhost:3000/`, replace `3000` with whatever was your port number displayed in your terminal.
4. If you've done all of these steps properly, you should be in the following page:
![image](https://github.com/W-Edward/Youtube-Daily-Popular-Keywords/assets/36920869/8e46109e-7d87-4837-9ad3-11618fb72282)
5. Enter a keyword in which you would like to find the current trend of in Youtube and press Enter. (For example, I put "Hong Kong" as the keyword)
![image](https://github.com/W-Edward/Youtube-Daily-Popular-Keywords/assets/36920869/78fb6356-1e23-40d3-9edf-8b2d996c8554)
6. After pressing Enter, you should be directed to another page, in this case showing the popularity trend of the keyword "Hong Kong" in Youtube. A linear regression line is also displayed with some basic statistics on the top right.
![image](https://github.com/W-Edward/Youtube-Daily-Popular-Keywords/assets/36920869/c0d4fefa-4eba-4d3a-a781-80f0c79b2ce2)

#Notes:
Note that the "Trending Words" tab on the bottom right and the "compare" field is not currently functional. I'm not sure if I'm continuing this project, I've been way too busy with school and have not touched it in months.