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.
generic subtitle download.
The idea is that all subtitle downloaders must descend from SubtitlesIE
and implement only three basic methods to achieve the complete subtitle
download functionality. This will allow to reduce the code in YoutubeIE
once it is rewritten.
For example:
[download] Resuming download at byte 1868140
[download] Destination: Entry #1-Bn59FJ4HrmU.flv
[download] 100% of 3.27MiB in 4s
This format is meant to somewhat mirror the behavior of wget(1) when reporting finished downloads:
100%[==================>] 54,836,682 788KB/s in 74s
2013-08-04 12:32:05 (728 KB/s) - 'google-chrome-stable_current_x86_64.rpm' saved [54836682/54836682]
Now is using the same length as the flash player used for age protected videos, but the algorithm is different, so now for age protected videos it first tries to use the old algo.