[mixcloud] improved extraction of user description
authorPhilip Huppert <philip@zeilen-sprung.de>
Sun, 10 Apr 2016 13:53:17 +0000 (15:53 +0200)
committerPhilip Huppert <philip@zeilen-sprung.de>
Tue, 12 Apr 2016 19:18:13 +0000 (21:18 +0200)
youtube_dl/extractor/mixcloud.py

index 769b68dc36e7813b45d3f6ddb655ef8a8ed28c19..30b33e7e98581fb0142d30837276dc476f6acd49 100644 (file)
@@ -195,12 +195,10 @@ class MixcloudUserIE(InfoExtractor):
 
     def _get_user_description(self, page_content):
         return self._html_search_regex(
-            r'<div class="description-text">.*?<p>(?P<description>.*?)</p></div></div></div>',
+            r'<div class="description-text">.*?<p>(.*?)</p></div></div></div>',
             page_content,
             "user description",
-            group="description",
-            fatal=False,
-            default="")
+            fatal=False)
 
     def _get_username(self, page_content):
         return self._og_search_title(page_content)