1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-22 16:17:50 +08:00

fix KeekIE

This commit is contained in:
Filippo Valsorda 2013-03-20 12:13:52 +01:00
parent 5cb3c0b319
commit f10b2a9c14

View File

@ -3986,8 +3986,8 @@ class KeekIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
m = re.search(r'<meta property="og:title" content="(?P<title>.+)"', webpage)
title = unescapeHTML(m.group('title'))
m = re.search(r'<div class="bio-names-and-report">[\s\n]+<h4>(?P<uploader>\w+)</h4>', webpage)
uploader = unescapeHTML(m.group('uploader'))
m = re.search(r'<div class="user-name-and-bio">[\S\s]+?<h2>(?P<uploader>.+?)</h2>', webpage)
uploader = clean_html(m.group('uploader'))
info = {
'id': video_id,
'url': video_url,