diff options
author | Yen Chi Hsuan <[email protected]> | 2016-01-02 21:36:35 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2016-01-02 21:36:35 +0800 |
commit | a1d9f6c5dc15f1d62e0ab8c9dd6feaed4ff83a34 (patch) | |
tree | a0bffb1ed6b0c728c7624ac3b7a77f1405364a12 | |
parent | c579c5e967cd223baa2c1f593b6ed65ac8643e42 (diff) | |
download | youtube-dl-a1d9f6c5dc15f1d62e0ab8c9dd6feaed4ff83a34.tar.gz youtube-dl-a1d9f6c5dc15f1d62e0ab8c9dd6feaed4ff83a34.zip |
[baidu] Improve playlist description
-rw-r--r-- | youtube_dl/extractor/baidu.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/baidu.py b/youtube_dl/extractor/baidu.py index 734b50d1d..d60cb0fdd 100644 --- a/youtube_dl/extractor/baidu.py +++ b/youtube_dl/extractor/baidu.py @@ -4,6 +4,7 @@ from __future__ import unicode_literals import re from .common import InfoExtractor +from ..utils import unescapeHTML class BaiduVideoIE(InfoExtractor): @@ -14,7 +15,7 @@ class BaiduVideoIE(InfoExtractor): 'info_dict': { 'id': '1069', 'title': '中华小当家 TV版国语', - 'description': 'md5:40a9c1b1c7f4e05d642e7bb1c84eeda0', + 'description': 'md5:51be07afe461cf99fa61231421b5397c', }, 'playlist_count': 52, }, { @@ -40,7 +41,7 @@ class BaiduVideoIE(InfoExtractor): playlist_detail = self._call_api('xqinfo', category, playlist_id) playlist_title = playlist_detail['title'] - playlist_description = playlist_detail.get('intro') + playlist_description = unescapeHTML(playlist_detail.get('intro')) episodes_detail = self._call_api('xqsingle', category, playlist_id) |