From b1ae1f3f88b81e542eb012f16fa7ec907d70f532 Mon Sep 17 00:00:00 2001 From: Navin Kumar A S Date: Tue, 22 Dec 2020 08:15:46 +0530 Subject: [PATCH] Hotstar Playlist regex update HotStarPlaylistIE regex updated. --- youtube_dl/extractor/extractors.py | 2 +- youtube_dl/extractor/hotstar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/extractors.py b/youtube_dl/extractor/extractors.py index bf34ae6b7..21e696d6b 100644 --- a/youtube_dl/extractor/extractors.py +++ b/youtube_dl/extractor/extractors.py @@ -435,8 +435,8 @@ from .hitrecord import HitRecordIE from .hornbunny import HornBunnyIE from .hotnewhiphop import HotNewHipHopIE from .hotstar import ( - HotStarIE, HotStarPlaylistIE, + HotStarIE, ) from .howcast import HowcastIE from .howstuffworks import HowStuffWorksIE diff --git a/youtube_dl/extractor/hotstar.py b/youtube_dl/extractor/hotstar.py index 1620822b6..5e267969e 100644 --- a/youtube_dl/extractor/hotstar.py +++ b/youtube_dl/extractor/hotstar.py @@ -222,7 +222,7 @@ class HotStarIE(HotStarBaseIE): class HotStarPlaylistIE(HotStarBaseIE): IE_NAME = 'hotstar:playlist' - _VALID_URL = r'https?://(?:www\.)?hotstar\.com/(?:[a-z]{2}/)?tv/[^/]+/s-\w+/list/[^/]+/t-(?P\w+)' + _VALID_URL = r'https?://(?:www\.)?hotstar\.com/(?:[a-z]{2}/)?tv/[^/]+/\w+/list/[^/]+/t-(?P\w+)' _TESTS = [{ 'url': 'https://www.hotstar.com/tv/savdhaan-india/s-26/list/popular-clips/t-3_2_26', 'info_dict': {