Skip to content

A feature-rich command-line audio/video downloader

[wdr] Bypass geo restriction

Sergey M․1915662d4fe0
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py
index 6bf5aeaede..d6ba254f5d 100644
--- a/youtube_dl/extractor/wdr.py
+++ b/youtube_dl/extractor/wdr.py
@@ -22,6 +22,7 @@ from ..utils import (
class WDRIE(InfoExtractor):
_VALID_URL = r'https?://deviceids-medp\.wdr\.de/ondemand/\d+/(?P<id>\d+)\.js'
+ _GEO_COUNTRIES = ['DE']
_TEST = {
'url': 'http://deviceids-medp.wdr.de/ondemand/155/1557833.js',
'info_dict': {