From: Jaime Marquínez Ferrándiz Date: Tue, 22 Oct 2013 19:01:16 +0000 (+0200) Subject: [nhl:videocenter] Fix playlist title extraction X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ce68b5907ca3999fb3e3f0d9bcfbaa7823c46623;p=youtube-dl [nhl:videocenter] Fix playlist title extraction --- diff --git a/youtube_dl/extractor/nhl.py b/youtube_dl/extractor/nhl.py index e8d43dd13..224f56ac8 100644 --- a/youtube_dl/extractor/nhl.py +++ b/youtube_dl/extractor/nhl.py @@ -90,8 +90,8 @@ class NHLVideocenterIE(NHLBaseInfoExtractor): r'{statusIndex:0,index:0,.*?id:(.*?),'], webpage, u'category id') playlist_title = self._html_search_regex( - r'\?catid=%s">(.*?)' % cat_id, - webpage, u'playlist title', flags=re.DOTALL) + r'tab0"[^>]*?>(.*?)', + webpage, u'playlist title', flags=re.DOTALL).lower().capitalize() data = compat_urllib_parse.urlencode({ 'cid': cat_id,