[zdf] Bypass geo restriction
authorSergey M․ <dstftw@gmail.com>
Wed, 18 Sep 2019 18:11:52 +0000 (01:11 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 18 Sep 2019 18:11:52 +0000 (01:11 +0700)
youtube_dl/extractor/zdf.py

index afa3f6c47f17a52f40903751cad5ff4293411715..145c123a42fee5e67c0fd8c2750ea13562632666 100644 (file)
@@ -41,6 +41,7 @@ class ZDFBaseIE(InfoExtractor):
 class ZDFIE(ZDFBaseIE):
     _VALID_URL = r'https?://www\.zdf\.de/(?:[^/]+/)*(?P<id>[^/?]+)\.html'
     _QUALITIES = ('auto', 'low', 'med', 'high', 'veryhigh')
+    _GEO_COUNTRIES = ['DE']
 
     _TESTS = [{
         'url': 'https://www.zdf.de/dokumentation/terra-x/die-magie-der-farben-von-koenigspurpur-und-jeansblau-100.html',