From: Philipp Hagemeister Date: Tue, 16 Dec 2014 14:59:31 +0000 (+0100) Subject: [youtube:feeds] (Fixes #4486) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=84d84211acba32a2a9bfb8729eeffd05cd556918;p=youtube-dl [youtube:feeds] (Fixes #4486) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index aaa07b5eb..100ecbc0a 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1566,9 +1566,11 @@ class YoutubeFeedsInfoExtractor(YoutubeBaseInfoExtractor): feed_entries = [] paging = 0 for i in itertools.count(1): - info = self._download_json(self._FEED_TEMPLATE % paging, - '%s feed' % self._FEED_NAME, - 'Downloading page %s' % i) + info = self._download_json( + self._FEED_TEMPLATE % paging, + '%s feed' % self._FEED_NAME, + 'Downloading page %s' % i, + transform_source=uppercase_escape) feed_html = info.get('feed_html') or info.get('content_html') load_more_widget_html = info.get('load_more_widget_html') or feed_html m_ids = re.finditer(r'"/watch\?v=(.*?)["&]', feed_html)