aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-10-22 21:01:16 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-10-22 21:01:16 +0200
commitce68b5907ca3999fb3e3f0d9bcfbaa7823c46623 (patch)
tree7c36df8e06300205cbafde28bde97b96d416eaf9 /youtube_dl
parentfe7e0c982530e62f3af001f7ac50c8c4b4abb5cb (diff)
[nhl:videocenter] Fix playlist title extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/nhl.py4
1 files changed, 2 insertions, 2 deletions
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">(.*?)</a>' % cat_id,
- webpage, u'playlist title', flags=re.DOTALL)
+ r'tab0"[^>]*?>(.*?)</td>',
+ webpage, u'playlist title', flags=re.DOTALL).lower().capitalize()
data = compat_urllib_parse.urlencode({
'cid': cat_id,