2
0
Эх сурвалжийг харах

[kickstarter] Silent the warning for og:description

Closes #10415
Yen Chi Hsuan 9 жил өмнө
parent
commit
08773689f3

+ 1 - 2
youtube_dl/extractor/kickstarter.py

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