]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[hotstar] Bypass geo restriction (closes #14672)
authorSergey M․ <dstftw@gmail.com>
Sun, 5 Nov 2017 09:12:56 +0000 (16:12 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 5 Nov 2017 09:12:56 +0000 (16:12 +0700)
youtube_dl/extractor/hotstar.py

index 3a7a66a343992879992d677af8f9c318dbd433ff..9be958be6d40c48cf333b45c1ada56fda1364123 100644 (file)
@@ -11,6 +11,7 @@ from ..utils import (
 
 class HotStarIE(InfoExtractor):
     _VALID_URL = r'https?://(?:www\.)?hotstar\.com/(?:.+?[/-])?(?P<id>\d{10})'
+    _GEO_COUNTRIES = ['IN']
     _TESTS = [{
         'url': 'http://www.hotstar.com/on-air-with-aib--english-1000076273',
         'info_dict': {