From: Philipp Hagemeister Date: Sun, 23 Jun 2013 17:41:28 +0000 (+0200) Subject: [Statigr.am] Correct uploader id X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a130adb25bb16422a4a03da9252f09839d490494;p=youtube-dl [Statigr.am] Correct uploader id --- 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'(.+?)', 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():