Python Forum

Full Version: Looking for string/s in video transcript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have just installed the python module at https://github.com/jdepoix/youtube-transcript-api

Noticed that pip3 did give some errors, however just testing it with

Quote:youtube_transcript_api <video_id> >test1.txt

It appears to suit the task at hand. If there are many videos in a youtube channel, then they can all be parsed to an output file, like . .

Quote:youtube_transcript_api <first_video_id> <second_video_id> ...

Is there an easy method with python to supply the youtube channel ID, and then parse all the video ID's , process them with the python module 'youtube-transcript-api' and search for strings within the video transcript ?
I'll set this post to 'solved' just to close it off for now, as I need to do a lot more research and also obtain a Google API, etc. I found the following article helpful to know possible methods to do this:

https://stackoverflow.com/questions/1895...-a-channel