From 5e9d042d8f5dd3296c8a4fd7f538a22874c38324 Mon Sep 17 00:00:00 2001 From: =?utf8?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 f72defdf2..44516fbdf 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3694,8 +3694,8 @@ class SteamIE(InfoExtractor): 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 @@ class SteamIE(InfoExtractor): 'id':video_id, 'url':video_url, 'ext': 'flv', - 'title': unescaper.unescape(title) + 'title': unescapeHTML(title) } videos.append(info) return videos -- 2.22.2