diff options
author | remitamine <remitamine@gmail.com> | 2015-07-31 21:28:59 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2015-07-31 21:28:59 +0100 |
commit | 09b6468d3027bbc0180cd8b10aa848180cae4005 (patch) | |
tree | 3c5c3784ff1d042b7fc6e27d97e37cae0f7d17e9 /youtube_dl/extractor | |
parent | 80fb6d4aa47154a1e963b28a17a065dc40a436b8 (diff) |
[vidme] extract the uploader
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/vidme.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ 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, } |