Repository: yt-dlp/yt-dlp
File: yt_dlp/extractor/bluesky.py (Python)

Code before:
            'filesize': traverse_obj(record_embed, ('video', 'size'), expected_type=int_or_none),
        })

        handle = traverse_obj(post, ('author', 'handle'))
        uploader = traverse_obj(post, ('author', 'displayName'))
        description = traverse_obj(post, ('record', 'text'))
        extractor = self.extract_comments(meta)

        return {
            'id': video_id,
            'title': f'{uploader}: "{description}"',
            'formats': formats,
            'description': description,
            'thumbnail': traverse_obj(post, ('embed', 'thumbnail'), expected_type=url_or_none),
            'alt_title': traverse_obj(post, ('embed', 'alt'), ('record', 'embed', 'alt')),
            'uploader': uploader,
            'channel': handle,
            'uploader_id': did,
            'channel_id': did,
            'uploader_url': f'https://bsky.app/profile/{handle}',
            'channel_url': f'https://bsky.app/profile/{did}',
            'timestamp': parse_iso8601(traverse_obj(post, ('record', 'createdAt'))),
            'like_count': post.get('likeCount'),
            'repost_count': post.get('repostCount'),
            'comment_count': post.get('replyCount'),
            'webpage_url': url,
            'tags': post.get('labels', []) + traverse_obj(post, ('record', 'langs'), default=[]),
            'comments': [] if not extractor else [*(extractor().get('comments'))[0]][1:],
            'subtitles': self._merge_subtitles(subs),
        }


Review comment (refactor):
```suggestion
```
this will be automatically added after extraction

Code after:
            'uploader': 'cinnamon',
            'uploader_id': 'alt.bun.how',
            'uploader_url': 'https://bsky.app/profile/alt.bun.how',
            'channel_id': 'did:plc:7x6rtuenkuvxq3zsvffp2ide',
            'channel_url': 'https://bsky.app/profile/did:plc:7x6rtuenkuvxq3zsvffp2ide',
            'thumbnail': r're:https://video.bsky.app/watch/.*\.jpg$',
            'title': 'crazy that i look like this tbh',
            'description': 'crazy that i look like this tbh',
            'upload_date': '20241030',
            'timestamp': 1730332128,
            'like_count': int,
            'repost_count': int,
            'comment_count': int,
            'tags': ['sexual'],
            'age_limit': 18,
        },
    }, {
        'url': 'at://did:plc:ia76kvnndjutgedggx2ibrem/app.bsky.feed.post/3l6zrz6zyl2dr',
        'md5': '71b0eb6d85d03145e6af6642c7fc6d78',
        'info_dict': {
            'id': '3l6zrz6zyl2dr',
            'ext': 'mp4',
            'uploader': 'mary🐇',
            'uploader_id': 'mary.my.id',
            'uploader_url': 'https://bsky.app/profile/mary.my.id',
            'channel_id': 'did:plc:ia76kvnndjutgedggx2ibrem',
            'channel_url': 'https://bsky.app/profile/did:plc:ia76kvnndjutgedggx2ibrem',
            'thumbnail': r're:https://video.bsky.app/watch/.*\.jpg$',
            'title': 'Bluesky video #3l6zrz6zyl2dr',
            'upload_date': '20241021',
            'timestamp': 1729523172,
            'like_count': int,
            'repost_count': int,
            'comment_count': int,
            'tags': [],
        },
    }, {
        'url': 'https://bsky.app/profile/purpleicetea.bsky.social/post/3l7gv55dc2o2w',
        'info_dict': {
            'id': '3l7gv55dc2o2w',
        },
        'playlist': [{
            'info_dict': {
                'id': '3l7gv55dc2o2w',
                'ext': 'mp4',
                'upload_date': '20241026',
                'description': 'One of my favorite videos',
                'comment_count': int,
                'uploader_url': 'https://bsky.app/profile/purpleicetea.bsky.social',
                'uploader': 'Purple.Ice.Tea',
                'thumbnail': r're:https://video.bsky.app/watch/.*\.jpg$',