projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3150976
)
[nick] Automate geo-restriction bypass (#13711)
author
nyuszika7h
<nyuszika7h@gmail.com>
Sun, 23 Jul 2017 13:40:04 +0000
(15:40 +0200)
committer
Sergey M
<dstftw@gmail.com>
Sun, 23 Jul 2017 13:40:04 +0000
(20:40 +0700)
youtube_dl/extractor/nick.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nick.py
b/youtube_dl/extractor/nick.py
index 08a75929e1e049249759f94e6179cfa8932ba87c..1fa19cde4cffdb22050f11196cb60f539f1661a4 100644
(file)
--- 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': [