1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-21 22:50:00 +08:00

[mtv] fix show name regex

This commit is contained in:
Mark Lee 2015-02-20 21:34:53 -08:00
parent 3a7fd2035e
commit 42a2155c1d

View File

@ -168,7 +168,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
videos_info = self._get_videos_info(mgid)
if self._downloader.params.get('joinparts'):
show_name = self._html_search_regex(
r'<span.*?class="[^"]*title[^"]*".*?>(.*?)</span>',
r'<h1.*?class="[^"]*title[^"]*".*?>(.*?)</h1>',
webpage, 'show name')
video_name = self._og_search_title(webpage)
description = self._og_search_description(webpage)