logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 6e71bbf4abc729cae3b0e428c3bb321690c9e485
parent 181e381fda4ddb9083f3834a8bd1bab72c937545
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  5 Nov 2017 16:12:56 +0700

[hotstar] Bypass geo restriction (closes #14672)

Diffstat:

Myoutube_dl/extractor/hotstar.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/hotstar.py b/youtube_dl/extractor/hotstar.py @@ -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': {