Explorar o código

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

Filippo Valsorda %!s(int64=12) %!d(string=hai) anos
pai
achega
7e4674830e
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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.