0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-18 01:35:12 +00:00

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 @@ def _extract_aweme(self, video_data, webpage):
'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')),