projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceff3fd
)
[drtv] Fix _VALID_URL (Closes #3735)
author
Sergey M․
<dstftw@gmail.com>
Sat, 13 Sep 2014 15:07:09 +0000
(22:07 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 13 Sep 2014 15:07:09 +0000
(22:07 +0700)
youtube_dl/extractor/drtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/drtv.py
b/youtube_dl/extractor/drtv.py
index cdccfd376b80ee5ebc61c25ab4cd00e12dcfc458..9d6ce1f48cd41c390da308768f131b6c44521629 100644
(file)
--- a/
youtube_dl/extractor/drtv.py
+++ b/
youtube_dl/extractor/drtv.py
@@
-8,7
+8,7
@@
from ..utils import parse_iso8601
class DRTVIE(SubtitlesInfoExtractor):
- _VALID_URL = r'http://(?:www\.)?dr\.dk/tv/se/
[^/]+/(?P<id>[\da-z-]+
)'
+ _VALID_URL = r'http://(?:www\.)?dr\.dk/tv/se/
(?:[^/]+/)+(?P<id>[\da-z-]+)(?:[/#?]|$
)'
_TEST = {
'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8',