[extractor/common] Simplify subtitles handling methods
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 17 Feb 2015 21:16:29 +0000 (22:16 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 17 Feb 2015 21:16:29 +0000 (22:16 +0100)
commit9868ea493626a3a81d30d084fd00d22982a0f86a
treea19d54a81c23aeef5ecf915678caae71ce3bf556
parent85920dd01d98cf74ea7d3ab7834a3b50cd6f1fde
[extractor/common] Simplify subtitles handling methods

Initially I was going to use a single method for handling both subtitles and automatic captions, that's why I used the 'list_subtitles' and the 'subtitles' variables.
youtube_dl/extractor/common.py