This tool scrapes the transcript of a YouTube video, highlights key points, and provides a summary based on user-specified terms or concepts.
Before running the script, make sure you have the following installed:
- Python 3.7 or higher
- pip (Python package installer)
-
Clone this repository or download the
insider.py
file. -
Install the required packages by running:
pip install -r requirements.txt
-
Open the
insider.py
file and replace 'YOUR OPENAI API KEY' with your actual OpenAI API key.
To run the script:
-
Open a terminal or command prompt.
-
Navigate to the directory containing
insider.py
. -
Run the script using:
python insider.py
-
When prompted, enter the YouTube video URL you want to analyze.
-
Next, enter the terms or concepts you're interested in.
-
The script will scrape the transcript, analyze it, and display the highlights and summary.
- Make sure you have a stable internet connection as the script needs to access YouTube and the OpenAI API.
- Respect YouTube's terms of service and use this tool responsibly.
If you encounter any issues:
- Ensure all dependencies are correctly installed.
- Check that your OpenAI API key is valid and correctly inserted in the script.
- Make sure you're using a supported version of Python.
For any other problems, please open an issue in the repository.