aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2015-08-01 03:55:52 +0600
committerSergey M. <dstftw@gmail.com>2015-08-01 03:55:52 +0600
commit8abb86fec42c7a2968c16c8a1b58a19dad32dba9 (patch)
treefd443f2d32bf29b8d2cb34a7f9c199fdf5575a72
parent16a089780e87d57b5295c4dfb8da1217ef6eda70 (diff)
parent09b6468d3027bbc0180cd8b10aa848180cae4005 (diff)
Merge pull request #6421 from remitamine/vidme
[vidme] extract the uploader
-rw-r--r--youtube_dl/extractor/vidme.py2
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,
}