aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-11-05 16:12:56 +0700
committerSergey M․ <dstftw@gmail.com>2017-11-05 16:12:56 +0700
commit6e71bbf4abc729cae3b0e428c3bb321690c9e485 (patch)
treeddc3495c026e8e2804b8dcea280eefab58da5616
parent181e381fda4ddb9083f3834a8bd1bab72c937545 (diff)
downloadyoutube-dl-6e71bbf4abc729cae3b0e428c3bb321690c9e485.zip
youtube-dl-6e71bbf4abc729cae3b0e428c3bb321690c9e485.tar.gz
youtube-dl-6e71bbf4abc729cae3b0e428c3bb321690c9e485.tar.bz2
[hotstar] Bypass geo restriction (closes #14672)
-rw-r--r--youtube_dl/extractor/hotstar.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/hotstar.py b/youtube_dl/extractor/hotstar.py
index 3a7a66a..9be958b 100644
--- 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': {