YouTube Trend Analysis with CrewAI and BrightData
This project implements a YouTube Trend Analysis with CrewAI and BrightData.
- Bright Data is used to scrape YouTube videos.
- CrewAI is used to analyze the transcripts of the videos and generate a summary.
- Streamlit is used to create a web interface for the project.
Setup and installations
Get BrightData API Key:
- Go to Bright Data and sign up for an account.
- Once you have an account, go to the API Key page and copy your API key.
- Paste your API key by creating a
.envfile as follows:
BRIGHT_DATA_API_KEY=your_api_keySetup Ollama:
bash
# setup ollama on linux
curl -fsSL https://ollama.com/install.sh | sh
# pull llama 3.2 model
ollama pull llama3.2Install Dependencies: Ensure you have Python 3.11 or later installed.
bash
pip install streamlit ollama crewai crewai-toolsRun the project
Finally, run the project by running the following command:
bash
streamlit run app.py📬 Stay Updated with Our Newsletter!
Get a FREE Data Science eBook 📖 with 150+ essential lessons in Data Science when you subscribe to our newsletter! Stay in the loop with the latest tutorials, insights, and exclusive resources. Subscribe now!
