Skip to content

t4skmanag3r/youtube_transcript_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Transcript Downloader

This is a package for retrieving transcripts from youtube

Developed by Edvinas Adomaitis (c) 2021

pypi - https://pypi.org/project/youtube-transcript-downloader/

Instalation

pip install youtube_transcript_downloader

Example of usage

replace url with the desired youtube url

import youtube_transcript_downloader

url = "your desired url"
transcript = youtube_transcript_downloader.get_transcript(url)

the function returns a dictionary of { time : text }

printing out the transcript

for key, val in transcript.items():
        print(f"{key} : {val}")

output:

00:05 : text text text
00:10 : text text text
00:15 : text text text
00:20 : text text text
...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages