浏览代码

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

Filippo Valsorda 12 年之前
父节点
当前提交
7e4674830e
共有 1 个文件被更改,包括 3 次插入0 次删除
  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.