1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 11:22:58 +08:00

Correcting the regex used to determine the playlist name. Using the active class on the playlist dropdown to find the correct active playlist

This commit is contained in:
Kfir Breger 2017-03-27 20:56:37 +02:00
parent 9e691da067
commit 97fea19a75

View File

@ -250,7 +250,7 @@ class MixcloudPlaylistIE(MixcloudPlaylistBaseIE):
description = self._get_user_description(profile)
playlist_title = self._html_search_regex(
r'<span[^>]+class="[^"]*list-playlist-title[^"]*"[^>]*>(.*?)</span>',
r'<a class="parent active" href="[^"]*"><b>\d+</b><span title="[^"]*">([^</]*?)</span></a>',
profile, 'playlist title')
entries = OnDemandPagedList(