LexAlyzer (lex-analyzer) is a powerful tool that analyzes YouTube videos or entire channels, providing detailed speech statistics on who spoke for how long.
TBC
sudo apt install pipx
pipx install poetry
git clone <repo>
cd <repo>
poetry install
poetry run python main.py
To obtain a YouTube Data API key, follow these steps:
- Go to the Google Developers Console.
- Create a new project.
- Select the created project.
- Click on "View all products" > "API Services" > "Library".
- Search for "YouTube Data API v3" and enable it for your project.
- Click on "Manage" > "Credentials" > "Create Credentials".
- Choose "API key" as the credential type.
- Copy the generated API key.
- Create a file named
keys.py
in your project directory. - Inside
keys.py
, add the following line of code:YOUTUBE_API_KEY = "<your-api-key>"