[internal] Improved subtitle architecture + (update in
authorIsmael Mejia <iemejia@gmail.com>
Thu, 8 Aug 2013 06:54:10 +0000 (08:54 +0200)
committerIsmael Mejia <iemejia@gmail.com>
Thu, 8 Aug 2013 06:54:10 +0000 (08:54 +0200)
commit8377574c9cb8740e24d45e9b3d30921fd6ec846c
tree3cbe6f014c1322ae85f17daa919de7e86ba3d307
parent372297e713c92489c113bf8649ec4aa1d23511f9
[internal] Improved subtitle architecture + (update in
youtube/dailymotion)

The structure of subtitles was refined, you only need to implement one
method that returns a dictionnary of the available subtitles (lang, url) to
support all the subtitle options in a website. I updated the subtitle
downloaders for youtube/dailymotion to show how it works.
youtube_dl/extractor/dailymotion.py
youtube_dl/extractor/subtitles.py
youtube_dl/extractor/youtube.py