aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-27 21:42:08 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-27 21:42:08 +0600
commit5add979d918ceb2718026bdfa66f141078b09b19 (patch)
tree493794decb8c95c131908483f5860f48a0a25872
parent20afe8bd14c76af308d4fe2fce4cef05067b10c7 (diff)
[dplay] Add support for dplay.no
-rw-r--r--youtube_dl/extractor/dplay.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dplay.py b/youtube_dl/extractor/dplay.py
index 87071c4f8..a638c827c 100644
--- a/youtube_dl/extractor/dplay.py
+++ b/youtube_dl/extractor/dplay.py
@@ -10,7 +10,7 @@ from ..utils import int_or_none
class DPlayIE(InfoExtractor):
- _VALID_URL = r'http://(?P<domain>it\.dplay\.com|www\.dplay\.(?:dk|se))/[^/]+/(?P<id>[^/?#]+)'
+ _VALID_URL = r'http://(?P<domain>it\.dplay\.com|www\.dplay\.(?:dk|se|no))/[^/]+/(?P<id>[^/?#]+)'
_TESTS = [{
'url': 'http://it.dplay.com/take-me-out/stagione-1-episodio-25/',
@@ -64,6 +64,9 @@ class DPlayIE(InfoExtractor):
'episode_number': 12,
'age_limit': 0,
},
+ }, {
+ 'url': 'http://www.dplay.no/pga-tour/season-1-hoydepunkter-18-21-februar/',
+ 'only_matching': True,
}]
def _real_extract(self, url):