projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5263cdf
)
[generic] indicate when a direct video has been extracted
author
Alessandro Ghedini
<alessandro@ghedini.me>
Sat, 1 Nov 2014 11:04:15 +0000
(12:04 +0100)
committer
Alessandro Ghedini
<alessandro@ghedini.me>
Sat, 1 Nov 2014 14:34:00 +0000
(15:34 +0100)
Fixes #4052.
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 3882e859c2b92993ce3f5da2a957083f223a9e44..8abc340b43cdfeb0316282ea34b9a19638abc43a 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-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,