We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Site Support on other Nickelodeon country website. (.dk, .no, .se)
## Please follow the guide below

- You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *issue* (like this: `[x]`)
- Use the *Preview* tab to see what your issue will actually look like

---

### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2017.10.20*. If it's not, read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2017.10.20**

### Before submitting an *issue* make sure you have:
- [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones

### What is the purpose of your *issue*?
- [ ] Bug report (encountered problems with youtube-dl)
- [x] Site support request (request for adding support for a new site)
- [ ] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: http://www.nickelodeon.no/program/2626-bulderhuset/videoer/90947-femteklasse-veronica-vs-vanzilla
- Single video: http://www.nickelodeon.dk/serier/2626-hojs-hus/videoer/761-tissepause
- Single video: http://www.nickelodeon.se/serier/2626-lugn-i-stormen/videos/998-

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `youtube_dl/extractor/nick.py`
Content:
```
1 # coding: utf-8
2 from __future__ import unicode_literals
3 
4 import re
5 
6 from .mtv import MTVServicesInfoExtractor
7 from ..utils import update_url_query
8 
9 
10 class NickIE(MTVServicesInfoExtractor):
11     # None of videos on the website are still alive?
12     IE_NAME = 'nick.com'
13     _VALID_URL = r'https?://(?:(?:www|beta)\.)?nick(?:jr)?\.com/(?:[^/]+/)?(?:videos/clip|[^/]+/videos)/(?P<id>[^/?#.]+)'
14     _FEED_URL = 'http://udat.mtvnservices.com/service1/dispatch.htm'
15     _GEO_COUNTRIES = ['US']
16     _TESTS = [{
17         'url': 'http://www.nick.com/videos/clip/alvinnn-and-the-chipmunks-112-full-episode.html',
18         'playlist': [
19             {
20                 'md5': '6e5adc1e28253bbb1b28ab05403dd4d4',
21                 'info_dict': {
22                     'id': 'be6a17b0-412d-11e5-8ff7-0026b9414f30',
23                     'ext': 'mp4',
24                     'title': 'ALVINNN!!! and The Chipmunks: "Mojo Missing/Who\'s The Animal" S1',
25                     'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks’ big concert.\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',
26 
27                 }
28             },
29             {
30                 'md5': 'd7be441fc53a1d4882fa9508a1e5b3ce',
31                 'info_dict': {
32                     'id': 'be6b8f96-412d-11e5-8ff7-0026b9414f30',
33                     'ext': 'mp4',
34                     'title': 'ALVINNN!!! and The Chipmunks: "Mojo Missing/Who\'s The Animal" S2',
35                     'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks’ big concert.\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',
36 
37                 }
38             },
39             {
40                 'md5': 'efffe1728a234b2b0d2f2b343dd1946f',
41                 'info_dict': {
42                     'id': 'be6cf7e6-412d-11e5-8ff7-0026b9414f30',
43                     'ext': 'mp4',
44                     'title': 'ALVINNN!!! and The Chipmunks: "Mojo Missing/Who\'s The Animal" S3',
45                     'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks’ big concert.\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',
46                 }
47             },
48             {
49                 'md5': '1ec6690733ab9f41709e274a1d5c7556',
50                 'info_dict': {
51                     'id': 'be6e3354-412d-11e5-8ff7-0026b9414f30',
52                     'ext': 'mp4',
53                     'title': 'ALVINNN!!! and The Chipmunks: "Mojo Missing/Who\'s The Animal" S4',
54                     'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks’ big concert.\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',
55                 }
56             },
57         ],
58     }, {
59         'url': 'http://www.nickjr.com/paw-patrol/videos/pups-save-a-goldrush-s3-ep302-full-episode/',
60         'only_matching': True,
61     }, {
62         'url': 'http://beta.nick.com/nicky-ricky-dicky-and-dawn/videos/nicky-ricky-dicky-dawn-301-full-episode/',
63         'only_matching': True,
64     }]
65 
66     def _get_feed_query(self, uri):
67         return {
68             'feed': 'nick_arc_player_prime',
69             'mgid': uri,
70         }
71 
72     def _extract_mgid(self, webpage):
73         return self._search_regex(r'data-contenturi="([^"]+)', webpage, 'mgid')
74 
75 
76 class NickDeIE(MTVServicesInfoExtractor):
77     IE_NAME = 'nick.de'
78     _VALID_URL = r'https?://(?:www\.)?(?P<host>nick\.(?:de|com\.pl)|nickelodeon\.(?:nl|at))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)'
79     _TESTS = [{
80         'url': 'http://www.nick.de/playlist/3773-top-videos/videos/episode/17306-zu-wasser-und-zu-land-rauchende-erdnusse',
81         'only_matching': True,
82     }, {
83         'url': 'http://www.nick.de/shows/342-icarly',
84         'only_matching': True,
85     }, {
86         'url': 'http://www.nickelodeon.nl/shows/474-spongebob/videos/17403-een-kijkje-in-de-keuken-met-sandy-van-binnenuit',
87         'only_matching': True,
88     }, {
89         'url': 'http://www.nickelodeon.at/playlist/3773-top-videos/videos/episode/77993-das-letzte-gefecht',
90         'only_matching': True,
91     }, {
92         'url': 'http://www.nick.com.pl/seriale/474-spongebob-kanciastoporty/wideo/17412-teatr-to-jest-to-rodeo-oszolom',
93         'only_matching': True,
94     }]
95 
96     def _extract_mrss_url(self, webpage, host):
97         return update_url_query(self._search_regex(
98             r'data-mrss=(["\'])(?P<url>http.+?)\1', webpage, 'mrss url', group='url'),
99             {'siteKey': host})
100 
101     def _real_extract(self, url):
102         mobj = re.match(self._VALID_URL, url)
103         video_id = mobj.group('id')
104         host = mobj.group('host')
105 
106         webpage = self._download_webpage(url, video_id)
107 
108         mrss_url = self._extract_mrss_url(webpage, host)
109 
110         return self._get_videos_info_from_url(mrss_url, video_id)
111 
112 
113 class NickNightIE(NickDeIE):
114     IE_NAME = 'nicknight'
115     _VALID_URL = r'https?://(?:www\.)(?P<host>nicknight\.(?:de|at|tv))/(?:playlist|shows)/(?:[^/]+/)*(?P<id>[^/?#&]+)'
116     _TESTS = [{
117         'url': 'http://www.nicknight.at/shows/977-awkward/videos/85987-nimmer-beste-freunde',
118         'only_matching': True,
119     }, {
120         'url': 'http://www.nicknight.at/shows/977-awkward',
121         'only_matching': True,
122     }, {
123         'url': 'http://www.nicknight.at/shows/1900-faking-it',
124         'only_matching': True,
125     }]
126 
127     def _extract_mrss_url(self, webpage, *args):
128         return self._search_regex(
129             r'mrss\s*:\s*(["\'])(?P<url>http.+?)\1', webpage,
130             'mrss url', group='url')
131 
132 
133 class NickRuIE(MTVServicesInfoExtractor):
134     IE_NAME = 'nickelodeonru'
135     _VALID_URL = r'https?://(?:www\.)nickelodeon\.ru/(?:playlist|shows|videos)/(?:[^/]+/)*(?P<id>[^/?#&]+)'
136     _TESTS = [{
137         'url': 'http://www.nickelodeon.ru/shows/henrydanger/videos/episodes/3-sezon-15-seriya-licenziya-na-polyot/pmomfb#playlist/7airc6',
138         'only_matching': True,
139     }, {
140         'url': 'http://www.nickelodeon.ru/videos/smotri-na-nickelodeon-v-iyule/g9hvh7',
141         'only_matching': True,
142     }]
143 
144     def _real_extract(self, url):
145         video_id = self._match_id(url)
146         webpage = self._download_webpage(url, video_id)
147         mgid = self._extract_mgid(webpage)
148         return self.url_result('http://media.mtvnservices.com/embed/%s' % mgid)
149
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/youtube_dl/extractor/nick.py b/youtube_dl/extractor/nick.py
--- a/youtube_dl/extractor/nick.py
+++ b/youtube_dl/extractor/nick.py
@@ -75,7 +75,7 @@
 
 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 @@
     }, {
         '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):

{"golden_diff": "diff --git a/youtube_dl/extractor/nick.py b/youtube_dl/extractor/nick.py\n--- a/youtube_dl/extractor/nick.py\n+++ b/youtube_dl/extractor/nick.py\n@@ -75,7 +75,7 @@\n \n class NickDeIE(MTVServicesInfoExtractor):\n     IE_NAME = 'nick.de'\n-    _VALID_URL = r'https?://(?:www\\.)?(?P<host>nick\\.(?:de|com\\.pl)|nickelodeon\\.(?:nl|at))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n+    _VALID_URL = r'https?://(?:www\\.)?(?P<host>nick\\.(?:de|com\\.pl)|nickelodeon\\.(?:nl|at|dk|no|se))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n     _TESTS = [{\n         'url': 'http://www.nick.de/playlist/3773-top-videos/videos/episode/17306-zu-wasser-und-zu-land-rauchende-erdnusse',\n         'only_matching': True,\n@@ -91,6 +91,15 @@\n     }, {\n         'url': 'http://www.nick.com.pl/seriale/474-spongebob-kanciastoporty/wideo/17412-teatr-to-jest-to-rodeo-oszolom',\n         'only_matching': True,\n+    }, {\n+        'url': 'http://www.nickelodeon.no/program/2626-bulderhuset/videoer/90947-femteklasse-veronica-vs-vanzilla',\n+        'only_matching': True,\n+    }, {\n+        'url': 'http://www.nickelodeon.dk/serier/2626-hojs-hus/videoer/761-tissepause',\n+        'only_matching': True,\n+    }, {\n+        'url': 'http://www.nickelodeon.se/serier/2626-lugn-i-stormen/videos/998-',\n+        'only_matching': True,\n     }]\n \n     def _extract_mrss_url(self, webpage, host):\n", "issue": "Site Support on other Nickelodeon country website. (.dk, .no, .se)\n## Please follow the guide below\r\n\r\n- You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly\r\n- Put an `x` into all the boxes [ ] relevant to your *issue* (like this: `[x]`)\r\n- Use the *Preview* tab to see what your issue will actually look like\r\n\r\n---\r\n\r\n### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2017.10.20*. If it's not, read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.\r\n- [x] I've **verified** and **I assure** that I'm running youtube-dl **2017.10.20**\r\n\r\n### Before submitting an *issue* make sure you have:\r\n- [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections\r\n- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones\r\n\r\n### What is the purpose of your *issue*?\r\n- [ ] Bug report (encountered problems with youtube-dl)\r\n- [x] Site support request (request for adding support for a new site)\r\n- [ ] Feature request (request for a new functionality)\r\n- [ ] Question\r\n- [ ] Other\r\n\r\n### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):\r\n- Single video: http://www.nickelodeon.no/program/2626-bulderhuset/videoer/90947-femteklasse-veronica-vs-vanzilla\r\n- Single video: http://www.nickelodeon.dk/serier/2626-hojs-hus/videoer/761-tissepause\r\n- Single video: http://www.nickelodeon.se/serier/2626-lugn-i-stormen/videos/998-\n", "before_files": [{"content": "# coding: utf-8\nfrom __future__ import unicode_literals\n\nimport re\n\nfrom .mtv import MTVServicesInfoExtractor\nfrom ..utils import update_url_query\n\n\nclass NickIE(MTVServicesInfoExtractor):\n    # None of videos on the website are still alive?\n    IE_NAME = 'nick.com'\n    _VALID_URL = r'https?://(?:(?:www|beta)\\.)?nick(?:jr)?\\.com/(?:[^/]+/)?(?:videos/clip|[^/]+/videos)/(?P<id>[^/?#.]+)'\n    _FEED_URL = 'http://udat.mtvnservices.com/service1/dispatch.htm'\n    _GEO_COUNTRIES = ['US']\n    _TESTS = [{\n        'url': 'http://www.nick.com/videos/clip/alvinnn-and-the-chipmunks-112-full-episode.html',\n        'playlist': [\n            {\n                'md5': '6e5adc1e28253bbb1b28ab05403dd4d4',\n                'info_dict': {\n                    'id': 'be6a17b0-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S1',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n\n                }\n            },\n            {\n                'md5': 'd7be441fc53a1d4882fa9508a1e5b3ce',\n                'info_dict': {\n                    'id': 'be6b8f96-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S2',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n\n                }\n            },\n            {\n                'md5': 'efffe1728a234b2b0d2f2b343dd1946f',\n                'info_dict': {\n                    'id': 'be6cf7e6-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S3',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n                }\n            },\n            {\n                'md5': '1ec6690733ab9f41709e274a1d5c7556',\n                'info_dict': {\n                    'id': 'be6e3354-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S4',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n                }\n            },\n        ],\n    }, {\n        'url': 'http://www.nickjr.com/paw-patrol/videos/pups-save-a-goldrush-s3-ep302-full-episode/',\n        'only_matching': True,\n    }, {\n        'url': 'http://beta.nick.com/nicky-ricky-dicky-and-dawn/videos/nicky-ricky-dicky-dawn-301-full-episode/',\n        'only_matching': True,\n    }]\n\n    def _get_feed_query(self, uri):\n        return {\n            'feed': 'nick_arc_player_prime',\n            'mgid': uri,\n        }\n\n    def _extract_mgid(self, webpage):\n        return self._search_regex(r'data-contenturi=\"([^\"]+)', webpage, 'mgid')\n\n\nclass NickDeIE(MTVServicesInfoExtractor):\n    IE_NAME = 'nick.de'\n    _VALID_URL = r'https?://(?:www\\.)?(?P<host>nick\\.(?:de|com\\.pl)|nickelodeon\\.(?:nl|at))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n    _TESTS = [{\n        'url': 'http://www.nick.de/playlist/3773-top-videos/videos/episode/17306-zu-wasser-und-zu-land-rauchende-erdnusse',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nick.de/shows/342-icarly',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.nl/shows/474-spongebob/videos/17403-een-kijkje-in-de-keuken-met-sandy-van-binnenuit',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.at/playlist/3773-top-videos/videos/episode/77993-das-letzte-gefecht',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nick.com.pl/seriale/474-spongebob-kanciastoporty/wideo/17412-teatr-to-jest-to-rodeo-oszolom',\n        'only_matching': True,\n    }]\n\n    def _extract_mrss_url(self, webpage, host):\n        return update_url_query(self._search_regex(\n            r'data-mrss=([\"\\'])(?P<url>http.+?)\\1', webpage, 'mrss url', group='url'),\n            {'siteKey': host})\n\n    def _real_extract(self, url):\n        mobj = re.match(self._VALID_URL, url)\n        video_id = mobj.group('id')\n        host = mobj.group('host')\n\n        webpage = self._download_webpage(url, video_id)\n\n        mrss_url = self._extract_mrss_url(webpage, host)\n\n        return self._get_videos_info_from_url(mrss_url, video_id)\n\n\nclass NickNightIE(NickDeIE):\n    IE_NAME = 'nicknight'\n    _VALID_URL = r'https?://(?:www\\.)(?P<host>nicknight\\.(?:de|at|tv))/(?:playlist|shows)/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n    _TESTS = [{\n        'url': 'http://www.nicknight.at/shows/977-awkward/videos/85987-nimmer-beste-freunde',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nicknight.at/shows/977-awkward',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nicknight.at/shows/1900-faking-it',\n        'only_matching': True,\n    }]\n\n    def _extract_mrss_url(self, webpage, *args):\n        return self._search_regex(\n            r'mrss\\s*:\\s*([\"\\'])(?P<url>http.+?)\\1', webpage,\n            'mrss url', group='url')\n\n\nclass NickRuIE(MTVServicesInfoExtractor):\n    IE_NAME = 'nickelodeonru'\n    _VALID_URL = r'https?://(?:www\\.)nickelodeon\\.ru/(?:playlist|shows|videos)/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n    _TESTS = [{\n        'url': 'http://www.nickelodeon.ru/shows/henrydanger/videos/episodes/3-sezon-15-seriya-licenziya-na-polyot/pmomfb#playlist/7airc6',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.ru/videos/smotri-na-nickelodeon-v-iyule/g9hvh7',\n        'only_matching': True,\n    }]\n\n    def _real_extract(self, url):\n        video_id = self._match_id(url)\n        webpage = self._download_webpage(url, video_id)\n        mgid = self._extract_mgid(webpage)\n        return self.url_result('http://media.mtvnservices.com/embed/%s' % mgid)\n", "path": "youtube_dl/extractor/nick.py"}], "after_files": [{"content": "# coding: utf-8\nfrom __future__ import unicode_literals\n\nimport re\n\nfrom .mtv import MTVServicesInfoExtractor\nfrom ..utils import update_url_query\n\n\nclass NickIE(MTVServicesInfoExtractor):\n    # None of videos on the website are still alive?\n    IE_NAME = 'nick.com'\n    _VALID_URL = r'https?://(?:(?:www|beta)\\.)?nick(?:jr)?\\.com/(?:[^/]+/)?(?:videos/clip|[^/]+/videos)/(?P<id>[^/?#.]+)'\n    _FEED_URL = 'http://udat.mtvnservices.com/service1/dispatch.htm'\n    _GEO_COUNTRIES = ['US']\n    _TESTS = [{\n        'url': 'http://www.nick.com/videos/clip/alvinnn-and-the-chipmunks-112-full-episode.html',\n        'playlist': [\n            {\n                'md5': '6e5adc1e28253bbb1b28ab05403dd4d4',\n                'info_dict': {\n                    'id': 'be6a17b0-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S1',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n\n                }\n            },\n            {\n                'md5': 'd7be441fc53a1d4882fa9508a1e5b3ce',\n                'info_dict': {\n                    'id': 'be6b8f96-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S2',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n\n                }\n            },\n            {\n                'md5': 'efffe1728a234b2b0d2f2b343dd1946f',\n                'info_dict': {\n                    'id': 'be6cf7e6-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S3',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n                }\n            },\n            {\n                'md5': '1ec6690733ab9f41709e274a1d5c7556',\n                'info_dict': {\n                    'id': 'be6e3354-412d-11e5-8ff7-0026b9414f30',\n                    'ext': 'mp4',\n                    'title': 'ALVINNN!!! and The Chipmunks: \"Mojo Missing/Who\\'s The Animal\" S4',\n                    'description': 'Alvin is convinced his mojo was in a cap he gave to a fan, and must find a way to get his hat back before the Chipmunks\u2019 big concert.\\nDuring a costume visit to the zoo, Alvin finds himself mistaken for the real Tasmanian devil.',\n                }\n            },\n        ],\n    }, {\n        'url': 'http://www.nickjr.com/paw-patrol/videos/pups-save-a-goldrush-s3-ep302-full-episode/',\n        'only_matching': True,\n    }, {\n        'url': 'http://beta.nick.com/nicky-ricky-dicky-and-dawn/videos/nicky-ricky-dicky-dawn-301-full-episode/',\n        'only_matching': True,\n    }]\n\n    def _get_feed_query(self, uri):\n        return {\n            'feed': 'nick_arc_player_prime',\n            'mgid': uri,\n        }\n\n    def _extract_mgid(self, webpage):\n        return self._search_regex(r'data-contenturi=\"([^\"]+)', webpage, 'mgid')\n\n\nclass NickDeIE(MTVServicesInfoExtractor):\n    IE_NAME = 'nick.de'\n    _VALID_URL = r'https?://(?:www\\.)?(?P<host>nick\\.(?:de|com\\.pl)|nickelodeon\\.(?:nl|at|dk|no|se))/[^/]+/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n    _TESTS = [{\n        'url': 'http://www.nick.de/playlist/3773-top-videos/videos/episode/17306-zu-wasser-und-zu-land-rauchende-erdnusse',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nick.de/shows/342-icarly',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.nl/shows/474-spongebob/videos/17403-een-kijkje-in-de-keuken-met-sandy-van-binnenuit',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.at/playlist/3773-top-videos/videos/episode/77993-das-letzte-gefecht',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nick.com.pl/seriale/474-spongebob-kanciastoporty/wideo/17412-teatr-to-jest-to-rodeo-oszolom',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.no/program/2626-bulderhuset/videoer/90947-femteklasse-veronica-vs-vanzilla',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.dk/serier/2626-hojs-hus/videoer/761-tissepause',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.se/serier/2626-lugn-i-stormen/videos/998-',\n        'only_matching': True,\n    }]\n\n    def _extract_mrss_url(self, webpage, host):\n        return update_url_query(self._search_regex(\n            r'data-mrss=([\"\\'])(?P<url>http.+?)\\1', webpage, 'mrss url', group='url'),\n            {'siteKey': host})\n\n    def _real_extract(self, url):\n        mobj = re.match(self._VALID_URL, url)\n        video_id = mobj.group('id')\n        host = mobj.group('host')\n\n        webpage = self._download_webpage(url, video_id)\n\n        mrss_url = self._extract_mrss_url(webpage, host)\n\n        return self._get_videos_info_from_url(mrss_url, video_id)\n\n\nclass NickNightIE(NickDeIE):\n    IE_NAME = 'nicknight'\n    _VALID_URL = r'https?://(?:www\\.)(?P<host>nicknight\\.(?:de|at|tv))/(?:playlist|shows)/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n    _TESTS = [{\n        'url': 'http://www.nicknight.at/shows/977-awkward/videos/85987-nimmer-beste-freunde',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nicknight.at/shows/977-awkward',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nicknight.at/shows/1900-faking-it',\n        'only_matching': True,\n    }]\n\n    def _extract_mrss_url(self, webpage, *args):\n        return self._search_regex(\n            r'mrss\\s*:\\s*([\"\\'])(?P<url>http.+?)\\1', webpage,\n            'mrss url', group='url')\n\n\nclass NickRuIE(MTVServicesInfoExtractor):\n    IE_NAME = 'nickelodeonru'\n    _VALID_URL = r'https?://(?:www\\.)nickelodeon\\.ru/(?:playlist|shows|videos)/(?:[^/]+/)*(?P<id>[^/?#&]+)'\n    _TESTS = [{\n        'url': 'http://www.nickelodeon.ru/shows/henrydanger/videos/episodes/3-sezon-15-seriya-licenziya-na-polyot/pmomfb#playlist/7airc6',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.nickelodeon.ru/videos/smotri-na-nickelodeon-v-iyule/g9hvh7',\n        'only_matching': True,\n    }]\n\n    def _real_extract(self, url):\n        video_id = self._match_id(url)\n        webpage = self._download_webpage(url, video_id)\n        mgid = self._extract_mgid(webpage)\n        return self.url_result('http://media.mtvnservices.com/embed/%s' % mgid)\n", "path": "youtube_dl/extractor/nick.py"}]}