1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-09 20:52:30 +01:00

[Statigr.am] Correct uploader id

This commit is contained in:
Philipp Hagemeister 2013-06-23 19:41:28 +02:00
parent 8756c5fe7a
commit a130adb25b

View File

@ -4593,8 +4593,8 @@ def _real_extract(self, url):
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 @@ def _real_extract(self, url):
'ext': ext,
'title': title,
'thumbnail': thumbnail_url,
'uploader' : uploader
'uploader_id' : uploader_id
}]
def gen_extractors():