scholar-labs / scholar-backend

0 stars 4 forks source link

[Task] Create route to get captions #3

Closed apoorvsxna closed 2 months ago

apoorvsxna commented 3 months ago

Sample code to get captions using video ID-

from youtube_transcript_api import YouTubeTranscriptApi

print(YouTubeTranscriptApi.get_transcript('jpGXBUiGu8A'))

# 'jpGXBUiGu8A' is the video ID here
apoorvsxna commented 2 months ago

Resolved.