From 1b02c9f96bab7be30bc90dfba54c5cb1e3d3db34 Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Sat, 30 Jun 2018 08:18:32 -0400 Subject: [PATCH] Get description or None --- youtube_dl/extractor/cheekyvideosnet.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/youtube_dl/extractor/cheekyvideosnet.py b/youtube_dl/extractor/cheekyvideosnet.py index cf6be2905..4dd33946a 100644 --- a/youtube_dl/extractor/cheekyvideosnet.py +++ b/youtube_dl/extractor/cheekyvideosnet.py @@ -14,11 +14,6 @@ class CheekyVideosIE(InfoExtractor): 'ext': 'mp4', 'title': 'Video title goes here', 'thumbnail': r're:^https?://.*\.jpg$', - # TODO more properties, either as: - # * A value - # * MD5 checksum; start the string with md5: - # * A regular expression; start the string with re: - # * Any Python type (for example int or float) } } @@ -35,7 +30,7 @@ class CheekyVideosIE(InfoExtractor): return { 'id': video_id, 'title': title, - 'description': self._html_search_meta('description', webpage, display_name='description'), + 'description': self._html_search_meta('description', webpage, default=None), 'uploader': uploader, 'url': url, }