projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80fb6d4
)
[vidme] extract the uploader
author
remitamine
<remitamine@gmail.com>
Fri, 31 Jul 2015 20:28:59 +0000
(21:28 +0100)
committer
remitamine
<remitamine@gmail.com>
Fri, 31 Jul 2015 20:28:59 +0000
(21:28 +0100)
youtube_dl/extractor/vidme.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vidme.py
b/youtube_dl/extractor/vidme.py
index e0b55078b2c9af8bf654ee6cd6982305074cb39b..575a62f3a864aedece326a5dcf168f07e33bbf21 100644
(file)
--- 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,
}