浏览代码

report_extraction was never called for GenericIE

Vasyl' Vavrychuk 14 年之前
父节点
当前提交
a9806fd83d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube-dl

+ 1 - 0
youtube-dl

@@ -1619,6 +1619,7 @@ class GenericIE(InfoExtractor):
 			self._downloader.trouble(u'ERROR: Invalid URL: %s' % url)
 			self._downloader.trouble(u'ERROR: Invalid URL: %s' % url)
 			return
 			return
 
 
+		self.report_extraction(video_id)
 		# Start with something easy: JW Player in SWFObject
 		# Start with something easy: JW Player in SWFObject
 		mobj = re.search(r'flashvars: [\'"](?:.*&)?file=(http[^\'"&]*)', webpage)
 		mobj = re.search(r'flashvars: [\'"](?:.*&)?file=(http[^\'"&]*)', webpage)
 		if mobj is None:
 		if mobj is None: