From 294caf43d6d33a19fc5cb4fd79ec767bc9429fc4 Mon Sep 17 00:00:00 2001 From: nobody Date: Wed, 9 Oct 2019 10:37:05 -0500 Subject: [PATCH] [veoh] Remove old _extract_video --- youtube_dl/extractor/veoh.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/youtube_dl/extractor/veoh.py b/youtube_dl/extractor/veoh.py index 9897cfb6f..e8c859601 100644 --- a/youtube_dl/extractor/veoh.py +++ b/youtube_dl/extractor/veoh.py @@ -68,19 +68,6 @@ class VeohIE(InfoExtractor): }, }] - def _extract_video(self, source): - return { - 'id': source.get('videoId'), - 'title': source.get('title'), - 'description': source.get('description'), - 'thumbnail': source.get('highResImage') or source.get('medResImage'), - 'uploader': source.get('username'), - 'duration': int_or_none(source.get('length')), - 'view_count': int_or_none(source.get('views')), - 'age_limit': 18 if source.get('isMature') == 'true' or source.get('isSexy') == 'true' else 0, - 'formats': self._extract_formats(source), - } - def _real_extract(self, url): video_id = self._match_id(url) json = self._download_json(