[mdr] Bypass geo restriction
authorSergey M․ <dstftw@gmail.com>
Sun, 13 Dec 2020 16:43:16 +0000 (23:43 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 13 Dec 2020 16:43:16 +0000 (23:43 +0700)
youtube_dl/extractor/mdr.py

index 38afdc789d1aff727619746ec4752321a1250203..dc6aa981959014b6b7b9167b3974ba9d092b9b71 100644 (file)
@@ -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',