Perform analysis on YouTube channel content including video details, engagement metrics, and temporal patterns.
This Python project is designed to analyze content from multiple YouTube channels. It provides insights into video details, engagement patterns, temporal behaviors, and more. The project consists of various modules to scrape YouTube data, perform data analysis, and print the results.
This project was worked on for the research project in the Data Visualization and Modeling class at Full Sail University by Ethan Stanks
Before using this project, you'll need the following:
Python 3.x
Chrome web browser (for web scraping)
YouTube Data API key (for video details)
Clone this repository.
Install the required Python packages
Obtain a YouTube Data API key and replace 'YOUR_API_KEY_HERE' in youtube_scrape.py with your actual API key.
Open main.py and set the appropriate flags to enable/disable scraping and analysis options.
Modify the channels_names list in main.py to include the YouTube channels you want to analyze.
Run the main script.
The project is organized as follows:
'main.py': The main script to control scraping and analysis.
'youtube_scrape.py': Contains functions for web scraping YouTube video links and details.
'data_analysis.py': Includes functions for different data analysis tasks.
'print_data.py': Provides functions to print analysis results.
'data/': Directory to store scraped data.
'output/': Directory to store analysis outputs.
This project is licensed under the MIT License.