[goldenmoustache] Fix title extraction on all categories

This commit is contained in:
xantares 2014-11-15 12:49:00 +01:00
parent 69ede8ef81
commit 925e4b2342

View File

@ -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'<title>(.*?) - Golden Moustache</title>', 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(