Ver código fonte

document info_dict['subtitles'] and info_dict['urlhandle']

Filippo Valsorda 13 anos atrás
pai
commit
7e4674830e
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      youtube_dl/InfoExtractors.py

+ 3 - 0
youtube_dl/InfoExtractors.py

@@ -51,6 +51,9 @@ class InfoExtractor(object):
 	thumbnail:      Full URL to a video thumbnail image.
 	description:    One-line video description.
 	player_url:     SWF Player URL (used for rtmpdump).
+	subtitles:      The .srt file contents.
+	urlhandle:		[internal] The urlHandle to be used to download the file,
+	                like returned by urllib2.urlopen
 
 	The fields should all be Unicode strings.