[subtitles] Use self._download_webpage for extracting the subtitles
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Sep 2013 14:24:47 +0000 (16:24 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Sep 2013 14:24:47 +0000 (16:24 +0200)
commit7fad1c6328b02ba9f23d37f374a05255abfe38a6
treef8e258ce98f84db16c9521092135051082d00cb0
parentd82134c3395c0912157c7ccae9f21d4b3375910b
[subtitles] Use self._download_webpage for extracting the subtitles

It raises ExtractorError for the same exceptions we have to catch.
youtube_dl/extractor/dailymotion.py
youtube_dl/extractor/subtitles.py
youtube_dl/extractor/youtube.py