From 7ac0ba50ce2e60f9105f94f1c66e7d8fa9b6b692 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 17 Sep 2020 14:00:03 +0200 Subject: [PATCH] [hotstar] regex fix --- youtube_dlc/extractor/hotstar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dlc/extractor/hotstar.py b/youtube_dlc/extractor/hotstar.py index 4d27fea4e..61692949e 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\d{10})' + _VALID_URL = r'https?://(?:www\.)?hotstar\.com/\S+\/(?P\d{10})' _TESTS = [{ # contentData 'url': 'https://www.hotstar.com/can-you-not-spread-rumours/1000076273',