Use a dictionary for storing the subtitles
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 26 Jun 2013 09:03:44 +0000 (11:03 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 20 Jul 2013 10:52:25 +0000 (12:52 +0200)
commit5d51a883c2049e0186074ded9405b01f79470d57
treefcfba0ffccc219a1f7708f77786c4ad494fe1c7a
parentc4a91be726bd2892931a061ef6703b9bfce2a2d2
Use a dictionary for storing the subtitles

The errors while getting the subtitles are reported as warnings, if no subtitles are found return and empty dict.
test/test_youtube_subtitles.py
youtube_dl/YoutubeDL.py
youtube_dl/extractor/common.py
youtube_dl/extractor/youtube.py