mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 08:34:32 +01:00
flake
This commit is contained in:
parent
caee5d2d0d
commit
41406fe8c1
@ -63,7 +63,6 @@ class TikTokIE(InfoExtractor):
|
||||
share_info = try_get(video_data, lambda x: x['shareMeta'], dict)
|
||||
unique_id = str_or_none(author_info.get('uniqueId'))
|
||||
timestamp = try_get(video_info, lambda x: int(x['createTime']), int)
|
||||
date = datetime.fromtimestamp(timestamp).strftime('%Y%m%d')
|
||||
height = try_get(video_info, lambda x: x['video']['videoMeta']['height'], int)
|
||||
width = try_get(video_info, lambda x: x['video']['videoMeta']['width'], int)
|
||||
thumbnails = []
|
||||
@ -96,7 +95,6 @@ class TikTokIE(InfoExtractor):
|
||||
'thumbnail': try_get(video_info, lambda x: x['covers'][0], str),
|
||||
'timestamp': timestamp,
|
||||
'width': width,
|
||||
'title': 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')),
|
||||
|
Loading…
Reference in New Issue
Block a user