mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-18 00:05:22 +01:00
steamIE remove the HTMLparser object
This commit is contained in:
parent
5e9d042d8f
commit
26714799c9
|
@ -3697,7 +3697,6 @@ def _real_extract(self, url):
|
||||||
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