diff options
author | Alex Seiler <seileralex@gmail.com> | 2017-10-21 20:26:58 +0200 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2017-10-22 01:26:58 +0700 |
commit | 3ebbd9991e1218a28dad89c13ffb47ebb7ce174c (patch) | |
tree | d37bdaac23aaa0e7b2420447fa5e7484c1aaa1c8 /youtube_dl/extractor | |
parent | 21ce434051f104bd270c4d03ddf524adc161f582 (diff) | |
download | youtube-dl-3ebbd9991e1218a28dad89c13ffb47ebb7ce174c.tar.xz |
[nick] Add support for more nickelodeon sites (closes #14553)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/nick.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nick.py b/youtube_dl/extractor/nick.py index 510b1c41f..46662fef8 100644 --- a/youtube_dl/extractor/nick.py +++ b/youtube_dl/extractor/nick.py @@ -75,7 +75,7 @@ class NickIE(MTVServicesInfoExtractor): class NickDeIE(MTVServicesInfoExtractor): IE_NAME = 'nick.de' - _VALID_URL = r'https?://(?:www\.)?(?P<host>nick\.(?:de|com\.pl)|nickelodeon\.(?:nl|at))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)' + _VALID_URL = r'https?://(?:www\.)?(?P<host>nick\.(?:de|com\.pl)|nickelodeon\.(?:nl|at|dk|no|se))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)' _TESTS = [{ 'url': 'http://www.nick.de/playlist/3773-top-videos/videos/episode/17306-zu-wasser-und-zu-land-rauchende-erdnusse', 'only_matching': True, @@ -91,6 +91,15 @@ class NickDeIE(MTVServicesInfoExtractor): }, { 'url': 'http://www.nick.com.pl/seriale/474-spongebob-kanciastoporty/wideo/17412-teatr-to-jest-to-rodeo-oszolom', 'only_matching': True, + }, { + 'url': 'http://www.nickelodeon.no/program/2626-bulderhuset/videoer/90947-femteklasse-veronica-vs-vanzilla', + 'only_matching': True, + }, { + 'url': 'http://www.nickelodeon.dk/serier/2626-hojs-hus/videoer/761-tissepause', + 'only_matching': True, + }, { + 'url': 'http://www.nickelodeon.se/serier/2626-lugn-i-stormen/videos/998-', + 'only_matching': True, }] def _extract_mrss_url(self, webpage, host): |