{"record":{"id":"4c079e1f0df8d13c","repo":"ytdl-org/youtube-dl","slug":"this-video-is-drm-protected-4c079e","errorCode":null,"errorMessage":"This video is DRM protected.","messagePattern":"This video is DRM protected\\.","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/corus.py","lineNumber":134,"sourceCode":"            note = 'Downloading%s smil file' % (' ' + source_type if source_type else '')\n            resp = self._download_webpage(\n                smil_url, video_id, note, fatal=False,\n                headers=self.geo_verification_headers())\n            if not resp:\n                continue\n            error = self._parse_json(resp, video_id, fatal=False)\n            if error:\n                if error.get('exception') == 'GeoLocationBlocked':\n                    self.raise_geo_restricted(countries=['CA'])\n                raise ExtractorError(error['description'])\n            smil = self._parse_xml(resp, video_id, fatal=False)\n            if smil is None:\n                continue\n            namespace = self._parse_smil_namespace(smil)\n            formats.extend(self._parse_smil_formats(\n                smil, smil_url, video_id, namespace))\n        if not formats and video.get('drm'):\n            raise ExtractorError('This video is DRM protected.', expected=True)\n        self._sort_formats(formats)\n\n        subtitles = {}\n        for track in video.get('tracks', []):\n            track_url = track.get('file')\n            if not track_url:\n                continue\n            lang = 'fr' if site in ('disneylachaine', 'seriesplus') else 'en'\n            subtitles.setdefault(lang, []).append({'url': track_url})\n\n        metadata = video.get('metadata') or {}\n        get_number = lambda x: int_or_none(video.get('pl1$' + x) or metadata.get(x + 'Number'))\n\n        return {\n            'id': video_id,\n            'title': title,\n            'formats': formats,\n            'thumbnail': dict_get(video, ('defaultThumbnailUrl', 'thumbnail', 'image')),","sourceCodeStart":116,"sourceCodeEnd":152,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/corus.py#L116-L152","documentation":"Error \"This video is DRM protected.\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/corus.py:134 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["DRM-protected content cannot be downloaded by youtube-dl; use an official player."],"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"}