Skip to content

Instantly share code, notes, and snippets.

View belushkin's full-sized avatar
🎉
Hi there!

Maksym Bielushkin belushkin

🎉
Hi there!
View GitHub Profile
@belushkin
belushkin / youtube_audio_2_text.py
Created September 16, 2021 13:26 — forked from acabrol/youtube_audio_2_text.py
Convert youtube video's audio to text
import tempfile
from pytube import YouTube
from pytube import helpers
from pydub import AudioSegment
from pydub.utils import make_chunks
from pydub.silence import split_on_silence
import textract
import math
import scipy.io.wavfile as wav