Skip to content

Commit

Permalink
fix(tiktok): update title getter
Browse files Browse the repository at this point in the history
Signed-off-by: Aakash Gajjar <[email protected]>
  • Loading branch information
skyme5 committed Aug 11, 2020
1 parent b19eec0 commit 89cee32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/tiktok.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')),
Expand Down

0 comments on commit 89cee32

Please sign in to comment.