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

Code before:
from .common import InfoExtractor
from .youtube import YoutubeIE
from ..utils import clean_html, int_or_none, traverse_obj, url_or_none, urlencode_postdata


class DigiviewIE(InfoExtractor):
    _VALID_URL = r'https?://(?:www\.)?ladigitale\.dev/digiview/#/v/(?P<id>[0-9a-f]+)'
    _TESTS = [{
        # normal video
        'url': 'https://ladigitale.dev/digiview/#/v/67a8e50aee2ec',
        'info_dict': {
            'id': '67a8e50aee2ec',
            'ext': 'mp4',
            'title': 'Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film',
            'thumbnail': 'https://i.ytimg.com/vi/aqz-KE-bpKQ/hqdefault.jpg',
            'upload_date': '20141110',
            'playable_in_embed': True,
            'duration': 635,
            'view_count': int,
            'comment_count': int,
            'channel': 'Blender',
            'license': 'Creative Commons Attribution license (reuse allowed)',
            'like_count': int,
            'tags': ['blender', 'animation', '4K', 'UHD', 'Big Buck Bunny (Film)', 'Blender Foundation (Nonprofit Organization)', 'Short Film (Film Genre)', '4K Resolution'],
            'live_status': 'not_live',
            'channel_id': 'UCSMOQeBJ2RAnuFungnQOxLg',
            'channel_follower_count': int,
            'channel_url': 'https://www.youtube.com/channel/UCSMOQeBJ2RAnuFungnQOxLg',
            'uploader_id': '@BlenderOfficial',
            'description': '',
            'categories': ['Film & Animation'],
            'channel_is_verified': True,
            'heatmap': 'count:100',
            'section_end': 635,
            'uploader': 'Blender',
            'timestamp': 1415628355,
            'uploader_url': 'https://www.youtube.com/@BlenderOfficial',
            'age_limit': 0,
            'section_start': 0,
            'availability': 'public',
        },
    }, {
        # cut video
        'url': 'https://ladigitale.dev/digiview/#/v/67a8e51d0dd58',
        'info_dict': {
            'id': '67a8e51d0dd58',
            'ext': 'mp4',
            'title': 'Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film',
            'thumbnail': 'https://i.ytimg.com/vi/aqz-KE-bpKQ/hqdefault.jpg',

Review comment (suggestion):
```suggestion
            'tags': 'count:8',
```

Code after:
from .common import InfoExtractor
from .youtube import YoutubeIE
from ..utils import clean_html, int_or_none, traverse_obj, url_or_none, urlencode_postdata


class DigiviewIE(InfoExtractor):
    _VALID_URL = r'https?://(?:www\.)?ladigitale\.dev/digiview/#/v/(?P<id>[0-9a-f]+)'
    _TESTS = [{
        # normal video
        'url': 'https://ladigitale.dev/digiview/#/v/67a8e50aee2ec',
        'info_dict': {
            'id': '67a8e50aee2ec',
            'ext': 'mp4',
            'title': 'Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film',
            'thumbnail': 'https://i.ytimg.com/vi/aqz-KE-bpKQ/hqdefault.jpg',
            'upload_date': '20141110',
            'playable_in_embed': True,
            'duration': 635,
            'view_count': int,
            'comment_count': int,
            'channel': 'Blender',
            'license': 'Creative Commons Attribution license (reuse allowed)',
            'like_count': int,
            'tags': 'count:8',
            'live_status': 'not_live',
            'channel_id': 'UCSMOQeBJ2RAnuFungnQOxLg',
            'channel_follower_count': int,
            'channel_url': 'https://www.youtube.com/channel/UCSMOQeBJ2RAnuFungnQOxLg',
            'uploader_id': '@BlenderOfficial',
            'description': 'md5:8f3ed18a53a1bb36cbb3b70a15782fd0',
            'categories': ['Film & Animation'],
            'channel_is_verified': True,
            'heatmap': 'count:100',
            'section_end': 635,
            'uploader': 'Blender',
            'timestamp': 1415628355,
            'uploader_url': 'https://www.youtube.com/@BlenderOfficial',
            'age_limit': 0,
            'section_start': 0,
            'availability': 'public',
        },
    }, {
        # cut video
        'url': 'https://ladigitale.dev/digiview/#/v/67a8e51d0dd58',
        'info_dict': {
            'id': '67a8e51d0dd58',
            'ext': 'mp4',
            'title': 'Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film',
            'thumbnail': 'https://i.ytimg.com/vi/aqz-KE-bpKQ/hqdefault.jpg',