projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3738135
)
[nhl] Allow upper-case video IDs (Fixes #4494)
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 16 Dec 2014 23:26:04 +0000
(
00:26
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 16 Dec 2014 23:26:04 +0000
(
00:26
+0100)
youtube_dl/extractor/nhl.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nhl.py
b/youtube_dl/extractor/nhl.py
index b2f40344f59d75caf94028167dcf5db7ce0f83fd..d3a4fc51387a8e1a1b56718ba9dafabf1d9a7db5 100644
(file)
--- a/
youtube_dl/extractor/nhl.py
+++ b/
youtube_dl/extractor/nhl.py
@@
-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',