This repository contains Jupyter notebooks demonstrating the usage and capabilities of the YTubeInsight package for YouTube channel analytics.
YTubeInsight is a Python package that allows for effortless analysis of YouTube channels. With this notebook, we showcase how to use YTubeInsight to:
- Analyze YouTube channels using either full channel URLs or channel IDs
- Count videos published within the last year
- Retrieve detailed information about each video (title, publish date, URL)
This notebook provides a comprehensive guide on how to use YTubeInsight to automate the process of aggregating data from multiple YouTube channels. It covers:
- Setting up the environment
- Importing necessary libraries
- Defining functions for data retrieval and processing
- Analyzing YouTube channel
- Visualizing the results
You can view the notebook directly on nbviewer by clicking the link above.
To run the notebooks locally:
-
Clone this repository:
git clone https://github.com/FahimFBA/YTubeInsight-notebook.git
-
Install the required dependencies:
pip install ytubeinsight jupyter
-
Launch Jupyter Notebook:
jupyter notebook
-
Navigate to the
notebook
directory and open the desired notebook.
- Python 3.6+
- YTubeInsight package
- Jupyter Notebook
- A valid YouTube Data API key
Contributions are welcome! If you have ideas for new notebooks or improvements to existing ones, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the YTubeInsight package for providing the core functionality
- Google for the YouTube Data API
If you encounter any problems or have any questions, please open an issue on this GitHub repository.
This project is not affiliated with, authorized, maintained, sponsored or endorsed by YouTube or any of its affiliates or subsidiaries. This is an independent and unofficial project. Use at your own risk.