mirror of https://github.com/yt-dlp/yt-dlp.git
fix(tiktok): update title getter
Signed-off-by: Aakash Gajjar <skyqutip@gmail.com>
This commit is contained in:
parent
b19eec0d33
commit
89cee32ce9
|
@ -50,7 +50,7 @@ class TikTokBaseIE(InfoExtractor):
|
||||||
'thumbnail': try_get(video_info, lambda x: x['covers'][0]),
|
'thumbnail': try_get(video_info, lambda x: x['covers'][0]),
|
||||||
'timestamp': timestamp,
|
'timestamp': timestamp,
|
||||||
'width': width,
|
'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')),
|
'creator': str_or_none(author_info.get('nickName')),
|
||||||
'uploader': unique_id,
|
'uploader': unique_id,
|
||||||
'uploader_id': str_or_none(author_info.get('userId')),
|
'uploader_id': str_or_none(author_info.get('userId')),
|
||||||
|
|
Loading…
Reference in New Issue