aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-05-19 01:01:42 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-05-19 01:01:42 +0800
commitb813d8caf1b23821036b77b851e42ba0a0ad35a7 (patch)
tree8eb0e77044be7fc0038327c8839c3db1bc560d10 /youtube_dl
parentecee5724110847b832a6074c66ca4a63758100f4 (diff)
[qqmusic] Unescape '\\n' in description (#5705)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/qqmusic.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/qqmusic.py b/youtube_dl/extractor/qqmusic.py
index 13113820b..b540033e2 100644
--- a/youtube_dl/extractor/qqmusic.py
+++ b/youtube_dl/extractor/qqmusic.py
@@ -26,7 +26,7 @@ class QQMusicIE(InfoExtractor):
'title': '可惜没如果',
'upload_date': '20141227',
'creator': '林俊杰',
- 'description': 'md5:4348ff1dd24036906baa7b6f973f8d30',
+ 'description': 'md5:d327722d0361576fde558f1ac68a7065',
}
}]
@@ -60,6 +60,8 @@ class QQMusicIE(InfoExtractor):
lrc_content = self._html_search_regex(
r'<div class="content" id="lrc_content"[^<>]*>([^<>]+)</div>',
detail_info_page, 'LRC lyrics', default=None)
+ if lrc_content:
+ lrc_content = lrc_content.replace('\\n', '\n')
guid = self.m_r_get_ruin()