youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 87696e78d7203cf47bdd27773d06ba15af7c819d
parent c4096e8aeaa373159e350a3674b0ce18b6c519e2
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date:   Thu, 24 Mar 2016 16:30:01 +0800

[instagram] Unescape description (#8817)

Diffstat:
Myoutube_dl/extractor/instagram.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py @@ -7,6 +7,7 @@ from ..utils import ( get_element_by_attribute, int_or_none, limit_length, + lowercase_escape, ) @@ -59,6 +60,8 @@ class InstagramIE(InfoExtractor): webpage, 'uploader id', fatal=False) desc = self._search_regex( r'"caption":"(.+?)"', webpage, 'description', default=None) + if desc is not None: + desc = lowercase_escape(desc) return { 'id': video_id,