Browse Source

[nhl] Allow upper-case video IDs (Fixes #4494)

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
b1ccbed3d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/nhl.py

+ 1
- 1
youtube_dl/extractor/nhl.py View File

@ -54,7 +54,7 @@ class NHLBaseInfoExtractor(InfoExtractor):
class NHLIE(NHLBaseInfoExtractor): class NHLIE(NHLBaseInfoExtractor):
IE_NAME = 'nhl.com' 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 = [{ _TESTS = [{
'url': 'http://video.canucks.nhl.com/videocenter/console?catid=6?id=453614', 'url': 'http://video.canucks.nhl.com/videocenter/console?catid=6?id=453614',


Loading…
Cancel
Save