1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

steamIE remove the HTMLparser object

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-01-03 23:56:02 +01:00
parent 5e9d042d8f
commit 26714799c9

View file

@ -3697,7 +3697,6 @@ class SteamIE(InfoExtractor):
namesRE = r'<span class="title">(?P<videoName>.+?)</span>' namesRE = r'<span class="title">(?P<videoName>.+?)</span>'
titles = re.finditer(namesRE, webpage) titles = re.finditer(namesRE, webpage)
videos = [] videos = []
unescaper = compat_html_parser.HTMLParser()
for vid,vtitle in zip(mweb,titles): for vid,vtitle in zip(mweb,titles):
video_id = vid.group('videoID') video_id = vid.group('videoID')
title = vtitle.group('videoName') title = vtitle.group('videoName')