mirror of https://github.com/blackjack4494/yt-dlc
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