projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
181e381
)
[hotstar] Bypass geo restriction (closes #14672)
author
Sergey M․
<dstftw@gmail.com>
Sun, 5 Nov 2017 09:12:56 +0000
(16:12 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 5 Nov 2017 09:12:56 +0000
(16:12 +0700)
youtube_dl/extractor/hotstar.py
patch
|
blob
|
history
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': {