2
0
Эх сурвалжийг харах

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

Filippo Valsorda 12 жил өмнө
parent
commit
7e4674830e

+ 3 - 0
youtube_dl/InfoExtractors.py

@@ -51,6 +51,9 @@ class InfoExtractor(object):
 	thumbnail:      Full URL to a video thumbnail image.
 	thumbnail:      Full URL to a video thumbnail image.
 	description:    One-line video description.
 	description:    One-line video description.
 	player_url:     SWF Player URL (used for rtmpdump).
 	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.
 	The fields should all be Unicode strings.