From: Sergey M․ Date: Sun, 5 Mar 2017 20:21:03 +0000 (+0700) Subject: [drtv:live] Bypass geo restriction X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=fc11ad383311d721179483eea2e289e3a236e457;p=youtube-dl.git [drtv:live] Bypass geo restriction --- diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py index e966d7483..b879f2c2b 100644 --- a/youtube_dl/extractor/drtv.py +++ b/youtube_dl/extractor/drtv.py @@ -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[\da-z-]+)' + _GEO_COUNTRIES = ['DK'] _TEST = { 'url': 'https://www.dr.dk/tv/live/dr1', 'info_dict': {