diff options
author | Ashish Gupta <39122144+Ashish0804@users.noreply.github.com> | 2021-11-30 21:44:47 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 21:44:47 +0530 |
commit | 73f035e1feba7261d719b77e24b9fa3da93b9ecf (patch) | |
tree | 78f1769b7fcf17f64b2865b63c9d4a9d2e8ae8c9 /yt_dlp/extractor/hotstar.py | |
parent | 0cbed930c8f5b14500557b689c754b9ad0c0436a (diff) | |
download | hypervideo-pre-73f035e1feba7261d719b77e24b9fa3da93b9ecf.tar.lz hypervideo-pre-73f035e1feba7261d719b77e24b9fa3da93b9ecf.tar.xz hypervideo-pre-73f035e1feba7261d719b77e24b9fa3da93b9ecf.zip |
[Cleanup] Remove some unnecessary groups in regexes (#1738)
Authored by: Ashish0804
Diffstat (limited to 'yt_dlp/extractor/hotstar.py')
-rw-r--r-- | yt_dlp/extractor/hotstar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/hotstar.py b/yt_dlp/extractor/hotstar.py index 0bdf772a1..de2b30cf7 100644 --- a/yt_dlp/extractor/hotstar.py +++ b/yt_dlp/extractor/hotstar.py @@ -296,7 +296,7 @@ class HotStarPlaylistIE(HotStarBaseIE): class HotStarSeriesIE(HotStarBaseIE): IE_NAME = 'hotstar:series' - _VALID_URL = r'(?P<url>(?:https?://)(?:www\.)?hotstar\.com(?:/in)?/tv/[^/]+/(?P<id>\d+))' + _VALID_URL = r'(?P<url>https?://(?:www\.)?hotstar\.com(?:/in)?/tv/[^/]+/(?P<id>\d+))' _TESTS = [{ 'url': 'https://www.hotstar.com/in/tv/radhakrishn/1260000646', 'info_dict': { |