Skip to content

Instantly share code, notes, and snippets.

View faridcher's full-sized avatar
💭
ok

Farid Cheraghi faridcher

💭
ok
  • University of Isfahan
  • 19:58 (UTC +03:30)
View GitHub Profile
@faridcher
faridcher / vtt2text.py
Created July 10, 2026 06:13 — forked from glasslion/vtt2text.py
This script convert youtube subtitle file(vtt) to plain text.
"""
Convert YouTube subtitles(vtt) to human readable text.
Download only subtitles from YouTube with youtube-dl:
youtube-dl --skip-download --convert-subs vtt <video_url>
Note that default subtitle format provided by YouTube is ass, which is hard
to process with simple regex. Luckily youtube-dl can convert ass to vtt, which
is easier to process.
@faridcher
faridcher / filename2.md
Created October 25, 2020 09:34
another test

test 2

@faridcher
faridcher / filename.md
Created October 25, 2020 09:33
testing

this is link and this is testing