diff --git a/youtube_dl/extractor/goldenmoustache.py b/youtube_dl/extractor/goldenmoustache.py index f2e231bf4..ba88e8049 100644 --- a/youtube_dl/extractor/goldenmoustache.py +++ b/youtube_dl/extractor/goldenmoustache.py @@ -16,7 +16,7 @@ class GoldenMoustacheIE(InfoExtractor): 'info_dict': { 'id': '3700', 'ext': 'mp4', - 'title': 'Suricate - Le Poker', + 'title': 'Suricate - Le Poker - Golden Moustache', 'description': 'md5:3d1f242f44f8c8cb0a106f1fd08e5dc9', 'thumbnail': 're:^https?://.*\.jpg$', 'view_count': int, @@ -29,8 +29,9 @@ class GoldenMoustacheIE(InfoExtractor): video_url = self._html_search_regex( r'data-src-type="mp4" data-src="([^"]+)"', webpage, 'video URL') - title = self._html_search_regex( - r'(.*?) - Golden Moustache', webpage, 'title') + + title = self._og_search_title(webpage) + thumbnail = self._og_search_thumbnail(webpage) description = self._og_search_description(webpage) view_count = int_or_none(self._html_search_regex(