about summary refs log tree commit diff
path: root/youtube_dl/extractor/disney.py
diff options
context:
space:
mode:
authorMarcin Cieślak <saper@saper.info>2017-06-14 23:13:04 +0200
committerSergey M <dstftw@gmail.com>2017-06-15 04:13:04 +0700
commit5215f45327a1ca84c73b98df05c1977520cfb0a4 (patch)
tree7f20db16ebc3f6fd92e22f8a41c99aaf77326070 /youtube_dl/extractor/disney.py
parent0a268c6e11e9fb55f41b474497997bff61d97cd2 (diff)
downloadyoutube-dl-5215f45327a1ca84c73b98df05c1977520cfb0a4.tar.gz
youtube-dl-5215f45327a1ca84c73b98df05c1977520cfb0a4.tar.xz
youtube-dl-5215f45327a1ca84c73b98df05c1977520cfb0a4.zip
[disney] Add support for disneychannel.de
Diffstat (limited to 'youtube_dl/extractor/disney.py')
-rw-r--r--youtube_dl/extractor/disney.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/disney.py b/youtube_dl/extractor/disney.py
index 939d1338c..968c4c7fd 100644
--- a/youtube_dl/extractor/disney.py
+++ b/youtube_dl/extractor/disney.py
@@ -15,7 +15,7 @@ from ..utils import (
 
 class DisneyIE(InfoExtractor):
     _VALID_URL = r'''(?x)
-        https?://(?P<domain>(?:[^/]+\.)?(?:disney\.[a-z]{2,3}(?:\.[a-z]{2})?|disney(?:(?:me|latino)\.com|turkiye\.com\.tr)|(?:starwars|marvelkids)\.com))/(?:(?:embed/|(?:[^/]+/)+[\w-]+-)(?P<id>[a-z0-9]{24})|(?:[^/]+/)?(?P<display_id>[^/?#]+))'''
+        https?://(?P<domain>(?:[^/]+\.)?(?:disney\.[a-z]{2,3}(?:\.[a-z]{2})?|disney(?:(?:me|latino)\.com|turkiye\.com\.tr|channel\.de)|(?:starwars|marvelkids)\.com))/(?:(?:embed/|(?:[^/]+/)+[\w-]+-)(?P<id>[a-z0-9]{24})|(?:[^/]+/)?(?P<display_id>[^/?#]+))'''
     _TESTS = [{
         # Disney.EmbedVideo
         'url': 'http://video.disney.com/watch/moana-trailer-545ed1857afee5a0ec239977',
@@ -69,6 +69,9 @@ class DisneyIE(InfoExtractor):
         'url': 'http://disneyjunior.en.disneyme.com/dj/watch-my-friends-tigger-and-pooh-promo',
         'only_matching': True,
     }, {
+        'url': 'http://disneychannel.de/sehen/soy-luna-folge-118-5518518987ba27f3cc729268',
+        'only_matching': True,
+    }, {
         'url': 'http://disneyjunior.disney.com/galactech-the-galactech-grab-galactech-an-admiral-rescue',
         'only_matching': True,
     }]