This is a simple metadata extractor for YouTube videos; useful for OSINT investigations and data recollection. This simple code was originally inspired by the now defunct YouTube Data Viewer published by Amnesty International.
Yes, vibe-coded. It's just a simple tool.
- Download the
youtube_extractor.pyfile. - Create a YouTube API key. See instructions.
- Open the code and on line 16, replace the part that contains
[REPLACE WITH YOUR API KEY]with your personal API key, and without the brackets. - Run the code using
python3 youtube_extractor.pyin the terminal. - Enter an URL of a YouTube video and see the output.