logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 5ce9527e169012b6489d9580db6bf8cb14e80c5e
parent c527f5ada08bebe2f6a3aa9af52a75de02223e4e
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 13 Dec 2020 23:43:16 +0700

[mdr] Bypass geo restriction

Diffstat:

Myoutube_dl/extractor/mdr.py2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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',