From 09b6468d3027bbc0180cd8b10aa848180cae4005 Mon Sep 17 00:00:00 2001 From: remitamine Date: Fri, 31 Jul 2015 21:28:59 +0100 Subject: [PATCH] [vidme] extract the uploader --- youtube_dl/extractor/vidme.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/vidme.py b/youtube_dl/extractor/vidme.py index e0b55078b..575a62f3a 100644 --- a/youtube_dl/extractor/vidme.py +++ b/youtube_dl/extractor/vidme.py @@ -50,6 +50,7 @@ def _real_extract(self, url): 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 @@ def _real_extract(self, url): 'duration': duration, 'view_count': view_count, 'like_count': like_count, + 'uploader': uploader, }