aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown <blackjack4494@web.de>2020-09-17 14:00:03 +0200
committerUnknown <blackjack4494@web.de>2020-09-17 14:00:03 +0200
commit7ac0ba50ce2e60f9105f94f1c66e7d8fa9b6b692 (patch)
tree0b0637266daef4997f05566fbb0c940d1929979a
parentfe84e2a391852e4a3b93379ec568c2edf50ea477 (diff)
downloadhypervideo-pre-7ac0ba50ce2e60f9105f94f1c66e7d8fa9b6b692.tar.lz
hypervideo-pre-7ac0ba50ce2e60f9105f94f1c66e7d8fa9b6b692.tar.xz
hypervideo-pre-7ac0ba50ce2e60f9105f94f1c66e7d8fa9b6b692.zip
[hotstar] regex fix
-rw-r--r--youtube_dlc/extractor/hotstar.py2
1 files changed, 1 insertions, 1 deletions
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<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',