Skip to content

A feature-rich command-line audio/video downloader

[hotstar] regex fix

Unknown7ac0ba50ce2e
diff --git a/youtube_dlc/extractor/hotstar.py b/youtube_dlc/extractor/hotstar.py
index 4d27fea4e8..61692949ef 100644
--- a/youtube_dlc/extractor/hotstar.py
+++ b/youtube_dlc/extractor/hotstar.py
@@ -69,7 +69,7 @@ class HotStarBaseIE(InfoExtractor):
class HotStarIE(HotStarBaseIE):
IE_NAME = 'hotstar'
- _VALID_URL = r'https?://(?:www\.)?hotstar\.com/(?:.+?[/-])?(?P<id>\d{10})'
+ _VALID_URL = r'https?://(?:www\.)?hotstar\.com/\S+\/(?P<id>\d{10})'
_TESTS = [{
# contentData
'url': 'https://www.hotstar.com/can-you-not-spread-rumours/1000076273',