aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/nhl.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-22 22:30:06 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-22 22:30:06 +0200
commit7853cc5ae1f9068f3bdf59ce959cb70645b9bc20 (patch)
tree82f0855ff96d3027c2026d2460a2a6c14d0fa6cc /youtube_dl/extractor/nhl.py
parent586a91b67f6fe7254beefc3831b4e4649f84f0ce (diff)
parentb028e96144a2bf1ba84dd6d11f1cc13a2928c438 (diff)
Merge remote-tracking branch 'origin/master'
Conflicts: youtube_dl/YoutubeDL.py
Diffstat (limited to 'youtube_dl/extractor/nhl.py')
-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,