mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-14 22:37:59 +09:00
steamIE remove the HTMLparser object
This commit is contained in:
parent
5e9d042d8f
commit
26714799c9
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user