]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[discoverygo] Bypass geo restriction
authorSergey M․ <dstftw@gmail.com>
Sat, 11 Mar 2017 16:18:42 +0000 (23:18 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 11 Mar 2017 16:18:42 +0000 (23:18 +0700)
youtube_dl/extractor/discoverygo.py

index d14de8f006f3c68963f77e405ea8e98114690bed..de94c4b0924b2dc20499ce9bd938e70814884fe0 100644 (file)
@@ -30,6 +30,7 @@ class DiscoveryGoBaseIE(InfoExtractor):
 
 class DiscoveryGoIE(DiscoveryGoBaseIE):
     _VALID_URL = DiscoveryGoBaseIE._VALID_URL_TEMPLATE % r'(?:[^/]+/)+'
+    _GEO_COUNTRIES = ['US']
     _TEST = {
         'url': 'https://www.discoverygo.com/love-at-first-kiss/kiss-first-ask-questions-later/',
         'info_dict': {