[generic] indicate when a direct video has been extracted

Fixes #4052.
This commit is contained in:
Alessandro Ghedini 2014-11-01 12:04:15 +01:00
parent 5263cdfcf9
commit ccdd0ffb80
1 changed files with 1 additions and 0 deletions

View File

@ -559,6 +559,7 @@ class GenericIE(InfoExtractor):
return {
'id': video_id,
'title': os.path.splitext(url_basename(url))[0],
'direct': True,
'formats': [{
'format_id': m.group('format_id'),
'url': url,