[subtitles] Simplify the extraction of subtitles in subclasses and remove NoAutoSubti...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Sep 2013 14:05:49 +0000 (16:05 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Sep 2013 14:05:49 +0000 (16:05 +0200)
commitd82134c3395c0912157c7ccae9f21d4b3375910b
tree4a2f24a6cd16b5f4cad1dfd9dfca93c6b5fc010c
parent54d39d8b2f7a9fe148a24dd2785108b7d3823d9d
[subtitles] Simplify the extraction of subtitles in subclasses and remove NoAutoSubtitlesInfoExtractor

Subclasses just need to call the method extract_subtitles, which will call _extract_subtitles and _request_automatic_caption
Now the default implementation of _request_automatic_caption returns {}.
youtube_dl/extractor/dailymotion.py
youtube_dl/extractor/subtitles.py
youtube_dl/extractor/youtube.py