fix(tiktok): update title getter

Signed-off-by: Aakash Gajjar <skyqutip@gmail.com>
This commit is contained in:
Aakash Gajjar 2020-08-11 12:02:23 +05:30
parent b19eec0d33
commit 89cee32ce9
No known key found for this signature in database
GPG Key ID: 84012841A6961837

View File

@ -50,7 +50,7 @@ class TikTokBaseIE(InfoExtractor):
'thumbnail': try_get(video_info, lambda x: x['covers'][0]),
'timestamp': timestamp,
'width': width,
'title': self._og_search_title(webpage),
'title': str_or_none(share_info.get('title')) or self._og_search_title(webpage),
'creator': str_or_none(author_info.get('nickName')),
'uploader': unique_id,
'uploader_id': str_or_none(author_info.get('userId')),