diff options
author | Philip Huppert <philip@zeilen-sprung.de> | 2016-04-10 15:53:17 +0200 |
---|---|---|
committer | Philip Huppert <philip@zeilen-sprung.de> | 2016-04-12 21:18:13 +0200 |
commit | 6d671695092236af75c49e8a74d19b771e1b4d79 (patch) | |
tree | 59c32d0164cf92c5e19cfc66113221cdaf43d79b /youtube_dl/extractor/mixcloud.py | |
parent | dcaf00fb3eb716ea146a8e8870c7753b9acf67b8 (diff) |
[mixcloud] improved extraction of user description
Diffstat (limited to 'youtube_dl/extractor/mixcloud.py')
-rw-r--r-- | youtube_dl/extractor/mixcloud.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index 769b68dc3..30b33e7e9 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -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) |