aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-20 16:29:31 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-20 16:29:31 +0100
commitc9bf41145fc7c722eb9b5ae528642976177c1b14 (patch)
tree174df82a68b899bc56644d5a6613d5bb14a9ff00 /youtube_dl
parent5239075bb684bc2c19978dde70e3954bbe7a62de (diff)
[YoutubeDL] Warn if an extractor returns compat_list
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/YoutubeDL.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 94c50903c..79f5e995e 100755
--- 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,
{