projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8756c5f
)
[Statigr.am] Correct uploader id
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Jun 2013 17:41:28 +0000
(19:41 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Jun 2013 17:41:28 +0000
(19:41 +0200)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 574d417beecc97718edcc6da864acb4d503d325a..f25732bf55f09cf437c2ddca84eb97392615cf5e 100755
(executable)
--- a/
youtube_dl/InfoExtractors.py
+++ b/
youtube_dl/InfoExtractors.py
@@
-4593,8
+4593,8
@@
class StatigramIE(InfoExtractor):
r'<title>(.+?)</title>',
webpage, u'title')
title = html_title.rpartition(u' | Statigram')[0]
- uploader = self._html_search_regex(
- r'@(
.+) \(Videos\
)', title, u'uploader name', fatal=False)
+ uploader
_id
= self._html_search_regex(
+ r'@(
[^ ]+
)', title, u'uploader name', fatal=False)
ext = 'mp4'
return [{
@@
-4603,7
+4603,7
@@
class StatigramIE(InfoExtractor):
'ext': ext,
'title': title,
'thumbnail': thumbnail_url,
- 'uploader
' : uploader
+ 'uploader
_id' : uploader_id
}]
def gen_extractors():