1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[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

View file

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