Browse Source

[YoutubeDL] Warn if an extractor returns compat_list

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
c9bf41145f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      youtube_dl/YoutubeDL.py

+ 3
- 0
youtube_dl/YoutubeDL.py View File

@ -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,
{


Loading…
Cancel
Save