Browse Source

[zdf] Bypass geo restriction

Sergey M․ 6 years ago
parent
commit
9cf26b6e1d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      youtube_dl/extractor/zdf.py

+ 1 - 0
youtube_dl/extractor/zdf.py

@@ -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',