mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
parent
4bfa401d40
commit
8242bf220d
1 changed files with 7 additions and 1 deletions
|
@ -247,7 +247,7 @@ class HotStarPlaylistIE(HotStarBaseIE):
|
||||||
|
|
||||||
class HotStarSeriesIE(HotStarBaseIE):
|
class HotStarSeriesIE(HotStarBaseIE):
|
||||||
IE_NAME = 'hotstar:series'
|
IE_NAME = 'hotstar:series'
|
||||||
_VALID_URL = r'(?:https?://)(?:www\.)?hotstar\.com(?:/in)?/tv/[^/]+/(?P<id>\d{10})$'
|
_VALID_URL = r'(?:https?://)(?:www\.)?hotstar\.com(?:/in)?/tv/[^/]+/(?P<id>\d+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.hotstar.com/in/tv/radhakrishn/1260000646',
|
'url': 'https://www.hotstar.com/in/tv/radhakrishn/1260000646',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
@ -260,6 +260,12 @@ class HotStarSeriesIE(HotStarBaseIE):
|
||||||
'id': '1260050431',
|
'id': '1260050431',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 43,
|
'playlist_mincount': 43,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.hotstar.com/in/tv/mahabharat/435/',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '435',
|
||||||
|
},
|
||||||
|
'playlist_mincount': 269,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue