summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2017-03-06 03:21:03 +0700
committerSergey M․ <[email protected]>2017-03-06 03:23:42 +0700
commitfc11ad383311d721179483eea2e289e3a236e457 (patch)
treeb3d0402afc870d99f2cb80f7c2b8f8da4e6ba69a
parentd2b64e04b475b6ef7e5fb74d92ae9a35284fc35a (diff)
downloadyoutube-dl-fc11ad383311d721179483eea2e289e3a236e457.tar.gz
youtube-dl-fc11ad383311d721179483eea2e289e3a236e457.zip
[drtv:live] Bypass geo restriction
-rw-r--r--youtube_dl/extractor/drtv.py1
1 files changed, 1 insertions, 0 deletions
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<id>[\da-z-]+)'
+ _GEO_COUNTRIES = ['DK']
_TEST = {
'url': 'https://www.dr.dk/tv/live/dr1',
'info_dict': {