[wdr] Bypass geo restriction
authorSergey M․ <dstftw@gmail.com>
Sat, 13 Jan 2018 16:30:56 +0000 (23:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 13 Jan 2018 16:30:56 +0000 (23:30 +0700)
youtube_dl/extractor/wdr.py

index 6bf5aeaede8d182ee7ec813cd1e570ee2d571123..d6ba254f5d8eb04de9775f6dbbbada7735c8d49e 100644 (file)
@@ -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': {