Use a dictionary for storing the subtitles
[youtube-dl] / youtube_dl / extractor / common.py
index da50abfc1cd492b8d360ef601b44841a938c055b..e2e192beff593b4768c626e6df94e61a20dbf04e 100644 (file)
@@ -47,7 +47,8 @@ class InfoExtractor(object):
     uploader_id:    Nickname or id of the video uploader.
     location:       Physical location of the video.
     player_url:     SWF Player URL (used for rtmpdump).
-    subtitles:      The subtitle file contents.
+    subtitles:      The subtitle file contents as a dictionary in the format
+                    {language: subtitles}.
     view_count:     How many users have watched the video on the platform.
     urlhandle:      [internal] The urlHandle to be used to download the file,
                     like returned by urllib.request.urlopen