Scraping YouTube with OpenAI API (Python, ChatGPT, YouTube Transcript API)
ฝัง
- เผยแพร่เมื่อ 8 ก.ค. 2024
- Support Silicon Dojo at: donorbox.org/etcg
RSVP for Classes at: www.silicondojo.com
LinkedIN at: / eli-etherton-a15362211
Notes and Code is here - www.elithecomputerguy.com/202...
TH-cam Transcript API Module - pypi.org/project/youtube-tran...
00:00 Intro
04:22 Demonstration
10:10 Lab Setup
15:33 Getting TH-cam Transcripts with Python
22:12 Summarize TH-cam Transcript with ChatGPT
28:34 Create topic Time codes with ChatGPT
35:31 Final Thoughts - วิทยาศาสตร์และเทคโนโลยี
A funny jab at Louis always gets the video a thumbs up.
Louis reminds me of revenge of the nerds ❤
16:26 If the URL you copied has other parameters that TH-cam sometimes uses, like 't' (for timestamp) or 'list' (for playlists), your video_id string will contain those as well. Python3 has urllib.parse, from which you should use 'urlparse' to parse parts of a URL correctly and then use urllib.parse_qs to extract the value of 'v' parameter.
ill check this out for sure.
Looking forward to more AI API videos. thank you!
Great video. I haven't been on this channel in years!
Computer guy does it again, tinkering with the api as well. Great to follow along
Wow that was the first video I have watched, and it was amazing! Very informative
Love it❤
Eli.. you are a legend. The Louis jab had me in stitches 🤣🤣
Nice
silicon dojo. what a cool name.
it is usefull if i have a 5 minute summary from the lord of the ring, or War and piece, ... Or ther is some interesting the way from start to end in some book/video/movie (dont speak from SW ;) )
You see. This is interesting. Is there a java library that does the same thing as that python lib that pulls the transcript (captions)? I've gone round n round with the youtube data api today and it looks like you can't download captions unless its your video. Just found your channel and i'm subscribing. Thanks!
What if you are dealing with a long transcript though? 60000 characters?
GPT 4 Turbo now allows or 128K tokens... so it can be done, but I'd hate to be the one paying for it... openai.com/pricing
Louis!!!!
thx for content btw you leaked your openai api key
it was deleted before the video was uploaded.
@@elithecomputerguy no it was working, now deleted.
@@elithecomputerguyhe owned you