]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[mixcloud:playlist] Fix title extraction
authorKfir Breger <kfir@cubicalwave.com>
Mon, 27 Mar 2017 18:56:37 +0000 (20:56 +0200)
committerSergey M․ <dstftw@gmail.com>
Sat, 8 Apr 2017 13:47:07 +0000 (20:47 +0700)
youtube_dl/extractor/mixcloud.py

index a24b3165a49670444024f4503877efa3467b8dbc..ba0bb190fcff24b64234a8daac0e1a920e3cdd7a 100644 (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(