mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-25 15:40:21 +00:00
[Statigr.am] Correct uploader id
This commit is contained in:
parent
8756c5fe7a
commit
a130adb25b
@ -4593,8 +4593,8 @@ class StatigramIE(InfoExtractor):
|
|||||||
r'<title>(.+?)</title>',
|
r'<title>(.+?)</title>',
|
||||||
webpage, u'title')
|
webpage, u'title')
|
||||||
title = html_title.rpartition(u' | Statigram')[0]
|
title = html_title.rpartition(u' | Statigram')[0]
|
||||||
uploader = self._html_search_regex(
|
uploader_id = self._html_search_regex(
|
||||||
r'@(.+) \(Videos\)', title, u'uploader name', fatal=False)
|
r'@([^ ]+)', title, u'uploader name', fatal=False)
|
||||||
ext = 'mp4'
|
ext = 'mp4'
|
||||||
|
|
||||||
return [{
|
return [{
|
||||||
@ -4603,7 +4603,7 @@ class StatigramIE(InfoExtractor):
|
|||||||
'ext': ext,
|
'ext': ext,
|
||||||
'title': title,
|
'title': title,
|
||||||
'thumbnail': thumbnail_url,
|
'thumbnail': thumbnail_url,
|
||||||
'uploader' : uploader
|
'uploader_id' : uploader_id
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def gen_extractors():
|
def gen_extractors():
|
||||||
|
Loading…
Reference in New Issue
Block a user