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.
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_key
Setup Ollama:
# setup ollama on linux
curl -fsSL https://ollama.com/install.sh | sh
# pull llama 3.2 model
ollama pull llama3.2 Install Dependencies: Ensure you have Python 3.11 or later installed.
pip install streamlit ollama crewai crewai-toolsFinally, run the project by running the following command:
streamlit run app.pyGet 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!
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
