- slug = try_get(cloudcast, lambda x: x['slug'], compat_str)
- owner_username = try_get(cloudcast, lambda x: x['owner']['username'], compat_str)
- video_id = '%s_%s' % (owner_username, slug) if slug and owner_username else None
+ item_slug = try_get(cloudcast, lambda x: x['slug'], str)
+ owner_username = try_get(cloudcast, lambda x: x['owner']['username'], str)
+ video_id = f'{owner_username}_{item_slug}' if item_slug and owner_username else None