Metadata-Version: 2.1
Name: yt2text
Version: 1.0.1
Summary: Extract text from a YouTube video in a single command, using OpenAi's Whisper speech recognition model
Home-page: https://github.com/atahanuz/yt2text
Author: Atahan Uz
Author-email: atahanuz23@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: ffmpeg
Requires-Dist: whisper

YT2TEXT

Extract text from a YouTube video in a single command, using OpenAi's Whisper speech recognition model. It doesn't use disk, performs everything in memory.

INSTALL:
pip install yt2text

USAGE:

You'll only interact with the get_text function. It takes a YouTube URL as an argument and returns the text as a string.

import yt2text
result= yt2text.get_text(YOUTUBE_URL)


OPTIONAL ARGUMENTS:
model 
Set Whisper model (tiny,base,small,medium or large). Check here for details:
https://github.com/openai/whisper#available-models-and-languages
Defaults to "base" which should be good enough for most cases.
The first time you use a model, it will be downloaded first.

verbose
Set True to print each step of the process. Defaults to False, it only prints if there is an error.







