projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c527f5a
)
[mdr] Bypass geo restriction
author
Sergey M․
<dstftw@gmail.com>
Sun, 13 Dec 2020 16:43:16 +0000
(23:43 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 13 Dec 2020 16:43:16 +0000
(23:43 +0700)
youtube_dl/extractor/mdr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mdr.py
b/youtube_dl/extractor/mdr.py
index 38afdc789d1aff727619746ec4752321a1250203..dc6aa981959014b6b7b9167b3974ba9d092b9b71 100644
(file)
--- a/
youtube_dl/extractor/mdr.py
+++ b/
youtube_dl/extractor/mdr.py
@@
-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',