Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Command-line utility to download closed captions from YouTube as a SRT file.

Project Description
####
youtube2srt
####
youtube2srt 0.1

Released: 30-Apr-2016


************
Introduction
************

A small command-line utility I had laying around for a good while that allows you to download closed captions from YouTube as a SRT file.


************
Installation
************

Install via pip:

::

$ pip install youtube2srt

Install from source:

::

$ git clone git://github.com/PauloMigAlmeida/youtube2srt
$ cd youtube2srt
$ python setup.py install


*****
Usage
*****

::

usage: youtube2srt.py [-h] [-l l1 [,l2...]] [-o OUTPUT] VIDEO_URL_OR_FILENAME

Download closed captions of a YouTube video as a SRT file.

positional arguments:
VIDEO_URL_OR_FILENAME YouTube video url or filename

optional arguments:
-h, --help show this help message and exit
-l l1 [,l2...], --lang l1 [,l2...]
comma separated list of two letter language codes
(default: en)
-o OUTPUT, --output OUTPUT
write captions to FILE instead of video_id.srt
Release History

Release History

This version
History Node

0.1

History Node

0.1b0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting