A package for retrieving transcripts from youtube
Project description
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
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file youtube_transcript_downloader-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: youtube_transcript_downloader-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42f66b0de8286ff9f24aeb66379e13966e089e4f00ff78ccc104bb67743e23eb |
|
MD5 | a33895e90f6961080d4f31a2a294cb1a |
|
BLAKE2b-256 | 9402561ad592037f30bb4b563cb59809e30ab174505c740164c5079e720ef393 |