diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-20 16:29:31 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-20 16:29:31 +0100 |
commit | c9bf41145fc7c722eb9b5ae528642976177c1b14 (patch) | |
tree | 174df82a68b899bc56644d5a6613d5bb14a9ff00 | |
parent | 5239075bb684bc2c19978dde70e3954bbe7a62de (diff) |
[YoutubeDL] Warn if an extractor returns compat_list
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 3 |
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, { |