projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[hotstar] Bypass geo restriction (closes #14672)
[youtube-dl]
/
youtube_dl
/
extractor
/
hotstar.py
diff --git
a/youtube_dl/extractor/hotstar.py
b/youtube_dl/extractor/hotstar.py
index 3a7a66a343992879992d677af8f9c318dbd433ff..9be958be6d40c48cf333b45c1ada56fda1364123 100644
(file)
--- 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': {