There are slideshow posts with no title in their image post, which causes the async_api.video() method to fail:
ERROR:root:Failed downloading https://vm.tiktok.com/ZGJbx5C88/: 1 validation error for VideoPage
itemInfo.itemStruct.imagePost.title
Field required [type=missing, input_value={'cover': {'imageHeight':...]}, 'imageWidth': 1080}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.1/v/missing
This PR makes that field optional and defaults it to None.
There are slideshow posts with no title in their image post, which causes the
async_api.video()
method to fail:This PR makes that field optional and defaults it to
None
.