mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 02:01:50 +00:00
fix KeekIE
This commit is contained in:
parent
5cb3c0b319
commit
f10b2a9c14
1 changed files with 4 additions and 4 deletions
|
@ -3986,11 +3986,11 @@ class KeekIE(InfoExtractor):
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
m = re.search(r'<meta property="og:title" content="(?P<title>.+)"', webpage)
|
m = re.search(r'<meta property="og:title" content="(?P<title>.+)"', webpage)
|
||||||
title = unescapeHTML(m.group('title'))
|
title = unescapeHTML(m.group('title'))
|
||||||
m = re.search(r'<div class="bio-names-and-report">[\s\n]+<h4>(?P<uploader>\w+)</h4>', webpage)
|
m = re.search(r'<div class="user-name-and-bio">[\S\s]+?<h2>(?P<uploader>.+?)</h2>', webpage)
|
||||||
uploader = unescapeHTML(m.group('uploader'))
|
uploader = clean_html(m.group('uploader'))
|
||||||
info = {
|
info = {
|
||||||
'id':video_id,
|
'id': video_id,
|
||||||
'url':video_url,
|
'url': video_url,
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': title,
|
'title': title,
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
|
|
Loading…
Reference in a new issue