]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[drtv:live] Bypass geo restriction
authorSergey M․ <dstftw@gmail.com>
Sun, 5 Mar 2017 20:21:03 +0000 (03:21 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 5 Mar 2017 20:23:42 +0000 (03:23 +0700)
youtube_dl/extractor/drtv.py

index e966d7483cdc2193cfc96d2bdd808c90e515f821..b879f2c2b213c53f77a516902bf0b63d95269bf8 100644 (file)
@@ -156,6 +156,7 @@ class DRTVIE(InfoExtractor):
 class DRTVLiveIE(InfoExtractor):
     IE_NAME = 'drtv:live'
     _VALID_URL = r'https?://(?:www\.)?dr\.dk/(?:tv|TV)/live/(?P<id>[\da-z-]+)'
+    _GEO_COUNTRIES = ['DK']
     _TEST = {
         'url': 'https://www.dr.dk/tv/live/dr1',
         'info_dict': {