]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[kickstarter] Silent the warning for og:description
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 24 Aug 2016 17:29:32 +0000 (01:29 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 24 Aug 2016 17:29:32 +0000 (01:29 +0800)
Closes #10415

youtube_dl/extractor/kickstarter.py

index 9f1ade2e46e8e2905adaa65eeaf2de22bfed8d2c..c61e786226330e0577fa6e92e82b63bbaae2a00f 100644 (file)
@@ -37,7 +37,6 @@ class KickStarterIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Power Drive 2000',
         },
-        'expected_warnings': ['OpenGraph description'],
     }]
 
     def _real_extract(self, url):
@@ -67,6 +66,6 @@ class KickStarterIE(InfoExtractor):
             'id': video_id,
             'url': video_url,
             'title': title,
-            'description': self._og_search_description(webpage),
+            'description': self._og_search_description(webpage, default=None),
             'thumbnail': thumbnail,
         }