projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e11b7
)
[zdf] Bypass geo restriction
author
Sergey M․
<dstftw@gmail.com>
Wed, 18 Sep 2019 18:11:52 +0000
(
01:11
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 18 Sep 2019 18:11:52 +0000
(
01:11
+0700)
youtube_dl/extractor/zdf.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/zdf.py
b/youtube_dl/extractor/zdf.py
index afa3f6c47f17a52f40903751cad5ff4293411715..145c123a42fee5e67c0fd8c2750ea13562632666 100644
(file)
--- 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',