From 5e9d042d8f5dd3296c8a4fd7f538a22874c38324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 3 Jan 2013 23:51:48 +0100 Subject: [PATCH] steamIE follow @phihag suggestions --- youtube_dl/InfoExtractors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index f72defdf27..44516fbdf8 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3694,8 +3694,8 @@ def _real_extract(self, url): videourl = 'http://store.steampowered.com/video/%s/' % gameID webpage = self._download_webpage(videourl, gameID) mweb = re.finditer(urlRE, webpage) - namesRE = r'(?P.+)' - titles = list(re.finditer(namesRE, webpage)) + namesRE = r'(?P.+?)' + titles = re.finditer(namesRE, webpage) videos = [] unescaper = compat_html_parser.HTMLParser() for vid,vtitle in zip(mweb,titles): @@ -3708,7 +3708,7 @@ def _real_extract(self, url): 'id':video_id, 'url':video_url, 'ext': 'flv', - 'title': unescaper.unescape(title) + 'title': unescapeHTML(title) } videos.append(info) return videos