1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-10 19:37:25 +00:00

[vidme] extract the uploader

This commit is contained in:
remitamine 2015-07-31 21:28:59 +01:00
parent 80fb6d4aa4
commit 09b6468d30

View File

@ -50,6 +50,7 @@ class VidmeIE(InfoExtractor):
like_count = str_to_int(self._html_search_regex(
r'class="score js-video-vote-score"[^>]+data-score="([\d,\.\s]+)">',
webpage, 'like count', fatal=False))
uploader = self._html_search_regex('class="video_author_username">([^<]+)', webpage, 'uploader', fatal=False)
return {
'id': video_id,
@ -63,4 +64,5 @@ class VidmeIE(InfoExtractor):
'duration': duration,
'view_count': view_count,
'like_count': like_count,
'uploader': uploader,
}