aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authornyuszika7h <nyuszika7h@gmail.com>2017-07-23 15:40:04 +0200
committerSergey M <dstftw@gmail.com>2017-07-23 20:40:04 +0700
commitf0e31e32c940d8529353f40bd2426163c3199216 (patch)
tree9b62cf8bbe10ccb997d9d4aa20881a526657da3a /youtube_dl
parent3150976669ef2ffc9f4eee9e99a6e70730bc22fb (diff)
[nick] Automate geo-restriction bypass (#13711)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/nick.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/nick.py b/youtube_dl/extractor/nick.py
index 08a75929e..1fa19cde4 100644
--- a/youtube_dl/extractor/nick.py
+++ b/youtube_dl/extractor/nick.py
@@ -12,6 +12,7 @@ class NickIE(MTVServicesInfoExtractor):
IE_NAME = 'nick.com'
_VALID_URL = r'https?://(?:(?:www|beta)\.)?nick(?:jr)?\.com/(?:[^/]+/)?(?:videos/clip|[^/]+/videos)/(?P<id>[^/?#.]+)'
_FEED_URL = 'http://udat.mtvnservices.com/service1/dispatch.htm'
+ _GEO_COUNTRIES = ['US']
_TESTS = [{
'url': 'http://www.nick.com/videos/clip/alvinnn-and-the-chipmunks-112-full-episode.html',
'playlist': [