Skip to content

This app fetch the data from the youtube for analysis the channel information and upload it into the mysql database

Notifications You must be signed in to change notification settings

AJIN-B/Youtube-data-Harvesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube-Data-Harvesting

Project Descriptions:

This app is build for to extract the youtube channel data

  • The problem statement is to create a Streamlit application that allows users to access and analyze data from YouTube Channels:
    • Using _Google API we retrieve all the relevant data for a YouTube channel ID.

      | Channel name | Subscribers | Total video count | Playlist ID | Video ID | Likes| Comments of each video |

    • Store the data in a MongoDB database.

    • Ability to collect data form the YouTube channels and store them in the data lake by clicking a button.


Languages and Tools:

python Numpy pandas git mysql streamlit Youtube MongoDB

To run this app

python -m streamlit run app.py or streamlit run app.py

NOTE

  • provide your api key for the youtube
  • provide your sql user, database name, password.
  • provide your mongodb database name.

Basic Requirements:

Local Setup:

  1. Clone the Repository:
git clone git@github.com:AJIN-B/Youtube-data-Harvesting.git
cd Youtube-data-Harvesting
  1. Set Up a Virtual Environment (Optional but Recommended):
# For macOS and Linux:
python3 -m venv venv

# For Windows:
python -m venv venv
  1. Activate the Virtual Environment:
# For macOS and Linux:
source venv/bin/activate

# For Windows:
.\venv\Scripts\activate
  1. Install Required Dependencies:
pip install -r requirements.txt
  1. Set up the Environment Variables:
# add the following Keys

API_KEY="Your Youtube API KEY"

HOST="Your HOST ID"

USER="Your USER ID"

PASSWORD="Your PASSWORD"

PORT="Your PORT"

DATABASE_NAME="Your DATABASE NAME"
  1. Run:
python -m streamlit run app.py 
or 
streamlit run app.py

After running the command, Streamlit will provide a local URL (usually http://localhost:8501/) which you can open in your web browser to access application.

=======

sample screenshot

sample

About

This app fetch the data from the youtube for analysis the channel information and upload it into the mysql database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages