{"record":{"id":"1f45e84c1c41569f","repo":"ytdl-org/youtube-dl","slug":"s-said-s-1f45e8","errorCode":null,"errorMessage":"%s said: %s","messagePattern":"%s said: %s","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/disney.py","lineNumber":143,"sourceCode":"                format_id.append(flavor_format)\n            if tbr:\n                format_id.append(compat_str(tbr))\n            ext = determine_ext(flavor_url)\n            if flavor_format == 'applehttp' or ext == 'm3u8':\n                ext = 'mp4'\n            width = int_or_none(flavor.get('width'))\n            height = int_or_none(flavor.get('height'))\n            formats.append({\n                'format_id': '-'.join(format_id),\n                'url': flavor_url,\n                'width': width,\n                'height': height,\n                'tbr': tbr,\n                'ext': ext,\n                'vcodec': 'none' if (width == 0 and height == 0) else None,\n            })\n        if not formats and video_data.get('expired'):\n            raise ExtractorError(\n                '%s said: %s' % (self.IE_NAME, page_data['translations']['video_expired']),\n                expected=True)\n        self._sort_formats(formats)\n\n        subtitles = {}\n        for caption in video_data.get('captions', []):\n            caption_url = caption.get('url')\n            caption_format = caption.get('format')\n            if not caption_url or caption_format.startswith('unknown'):\n                continue\n            subtitles.setdefault(caption.get('language', 'en'), []).append({\n                'url': caption_url,\n                'ext': {\n                    'webvtt': 'vtt',\n                }.get(caption_format, caption_format),\n            })\n\n        return {","sourceCodeStart":125,"sourceCodeEnd":161,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/disney.py#L125-L161","documentation":"Error \"%s said: %s\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/disney.py:143 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the Disney error message; check credentials and regional availability."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"956b8c585591b401a543e409accb163eeaaa1193","analyzedAt":"2026-08-14T18:59:47.863Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}