Explorar o código

[wdr] Bypass geo restriction

Sergey M․ %!s(int64=8) %!d(string=hai) anos
pai
achega
1915662d4f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      youtube_dl/extractor/wdr.py

+ 1 - 0
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': {