aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-12-13 23:43:16 +0700
committerSergey M․ <dstftw@gmail.com>2020-12-13 23:43:16 +0700
commit5ce9527e169012b6489d9580db6bf8cb14e80c5e (patch)
treeb9fb1d9ff93a969c3bf0029bdcb1c0704d4e9068
parentc527f5ada08bebe2f6a3aa9af52a75de02223e4e (diff)
[mdr] Bypass geo restriction
-rw-r--r--youtube_dl/extractor/mdr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/mdr.py b/youtube_dl/extractor/mdr.py
index 38afdc789..dc6aa9819 100644
--- a/youtube_dl/extractor/mdr.py
+++ b/youtube_dl/extractor/mdr.py
@@ -20,6 +20,8 @@ class MDRIE(InfoExtractor):
IE_DESC = 'MDR.DE and KiKA'
_VALID_URL = r'https?://(?:www\.)?(?:mdr|kika)\.de/(?:.*)/[a-z-]+-?(?P<id>\d+)(?:_.+?)?\.html'
+ _GEO_COUNTRIES = ['DE']
+
_TESTS = [{
# MDR regularly deletes its videos
'url': 'http://www.mdr.de/fakt/video189002.html',