projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5239075
)
[YoutubeDL] Warn if an extractor returns compat_list
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:29:31 +0000
(16:29 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:29:31 +0000
(16:29 +0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 94c50903c737ea298b44e772b55500766b2f904b..79f5e995e1129453d72e829fe1bfd8f668b3cfc3 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-679,6
+679,9
@@
class YoutubeDL(object):
ie_result['entries'] = playlist_results
return ie_result
elif result_type == 'compat_list':
+ self.report_warning(
+ 'Extractor %s returned a compat_list result. '
+ 'It needs to be updated.' % ie_result.get('extractor'))
def _fixup(r):
self.add_extra_info(r,
{