logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 9cf26b6e1d0658eb0b252872ef011d765b8341a5
parent 20e11b70ac48fd5bffae194d829f7e31fcc65fca
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 19 Sep 2019 01:11:52 +0700

[zdf] Bypass geo restriction

Diffstat:

Myoutube_dl/extractor/zdf.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/zdf.py b/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',