This basic project allows you to fetch the latest videos from a Youtube user, get some basic details, and the transcript.
It utilizes the YouTube Data API and youtube-transcript-api
library to achieve this functionality.
- Fetch the latest videos from a specified YouTube user within the past 24 hours.
- Retrieve video details such as title and description.
- Retrieve video transcripts in both structured and plain text formats.
- Python 3.x
- A YouTube Data API key
-
Clone the repository
git clone <repository-url> cd <repository-directory>
-
Create a virtual environment
python -m venv venv
-
Activate the virtual environment
For Unix or MacOS:
source venv/bin/activate
-
Install the required packages
pip install -r requirements.txt
-
Run the script
python main.py