diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-06-23 19:41:28 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-06-23 19:41:28 +0200 |
commit | a130adb25bb16422a4a03da9252f09839d490494 (patch) | |
tree | 14eb4c2b953d4fae4eb28f887dd05cb1ca179414 | |
parent | 8756c5fe7a7eed00361fc6543ccf3a66aa768be0 (diff) |
[Statigr.am] Correct uploader id
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 574d417be..f25732bf5 100755 --- 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(): |