[nhl] Allow upper-case video IDs (Fixes #4494)
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 16 Dec 2014 23:26:04 +0000 (00:26 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 16 Dec 2014 23:26:04 +0000 (00:26 +0100)
youtube_dl/extractor/nhl.py

index b2f40344f59d75caf94028167dcf5db7ce0f83fd..d3a4fc51387a8e1a1b56718ba9dafabf1d9a7db5 100644 (file)
@@ -54,7 +54,7 @@ class NHLBaseInfoExtractor(InfoExtractor):
 
 class NHLIE(NHLBaseInfoExtractor):
     IE_NAME = 'nhl.com'
-    _VALID_URL = r'https?://video(?P<team>\.[^.]*)?\.nhl\.com/videocenter/console(?:\?(?:.*?[?&])?)id=(?P<id>[0-9a-z-]+)'
+    _VALID_URL = r'https?://video(?P<team>\.[^.]*)?\.nhl\.com/videocenter/console(?:\?(?:.*?[?&])?)id=(?P<id>[-0-9a-zA-Z]+)'
 
     _TESTS = [{
         'url': 'http://video.canucks.nhl.com/videocenter/console?catid=6?id=453614',