summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/jiosaavn.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:48 +0000
commitdeb9c3cdb096ee4aa1cd29cdd249cd40bdff73e8 (patch)
tree28cdb51427d366c5e840a4a364c6fc078da925af /yt_dlp/extractor/jiosaavn.py
parentReleasing progress-linux version 2024.07.02-1~progress7.99u1. (diff)
downloadyt-dlp-deb9c3cdb096ee4aa1cd29cdd249cd40bdff73e8.tar.xz
yt-dlp-deb9c3cdb096ee4aa1cd29cdd249cd40bdff73e8.zip
Merging upstream version 2024.07.07.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/jiosaavn.py')
-rw-r--r--yt_dlp/extractor/jiosaavn.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/yt_dlp/extractor/jiosaavn.py b/yt_dlp/extractor/jiosaavn.py
index 542e41b..030fe68 100644
--- a/yt_dlp/extractor/jiosaavn.py
+++ b/yt_dlp/extractor/jiosaavn.py
@@ -158,7 +158,7 @@ class JioSaavnAlbumIE(JioSaavnBaseIE):
class JioSaavnPlaylistIE(JioSaavnBaseIE):
IE_NAME = 'jiosaavn:playlist'
- _VALID_URL = r'https?://(?:www\.)?(?:jio)?saavn\.com/s/playlist/(?:[^/?#]+/){2}(?P<id>[^/?#]+)'
+ _VALID_URL = r'https?://(?:www\.)?(?:jio)?saavn\.com/(?:s/playlist/(?:[^/?#]+/){2}|featured/[^/?#]+/)(?P<id>[^/?#]+)'
_TESTS = [{
'url': 'https://www.jiosaavn.com/s/playlist/2279fbe391defa793ad7076929a2f5c9/mood-english/LlJ8ZWT1ibN5084vKHRj2Q__',
'info_dict': {
@@ -173,6 +173,13 @@ class JioSaavnPlaylistIE(JioSaavnBaseIE):
'title': 'Mood Hindi',
},
'playlist_mincount': 801,
+ }, {
+ 'url': 'https://www.jiosaavn.com/featured/taaza-tunes/Me5RridRfDk_',
+ 'info_dict': {
+ 'id': 'Me5RridRfDk_',
+ 'title': 'Taaza Tunes',
+ },
+ 'playlist_mincount': 301,
}]
_PAGE_SIZE = 50