[YoutubeDL] Autocalculate ext for subtitles when missing
[youtube-dl] / youtube_dl / extractor / common.py
index 4fe2307cdd42b9187d86940c2628b2648fc97d7b..dbae75406233ae8d5d2db2acf2090e6522a91295 100644 (file)
@@ -165,6 +165,7 @@ class InfoExtractor(object):
                     with the "ext" entry and one of:
                         * "data": The subtitles file contents
                         * "url": A URL pointing to the subtitles file
+                    "ext" will be calculated from URL if missing
     automatic_captions: Like 'subtitles', used by the YoutubeIE for
                     automatically generated captions
     duration:       Length of the video in seconds, as an integer.