{"record":{"id":"c25add218e95a222","repo":"ytdl-org/youtube-dl","slug":"this-video-is-drm-protected-c25add","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/ninenow.py","lineNumber":70,"sourceCode":"                webpage, 'page data'), display_id), display_id)\n\n        for kind in ('episode', 'clip'):\n            current_key = page_data.get(kind, {}).get(\n                'current%sKey' % kind.capitalize())\n            if not current_key:\n                continue\n            cache = page_data.get(kind, {}).get('%sCache' % kind, {})\n            if not cache:\n                continue\n            common_data = (cache.get(current_key) or list(cache.values())[0])[kind]\n            break\n        else:\n            raise ExtractorError('Unable to find video data')\n\n        video_data = common_data['video']\n\n        if video_data.get('drm'):\n            raise ExtractorError('This video is DRM protected.', expected=True)\n\n        brightcove_id = video_data.get('brightcoveId') or 'ref:' + video_data['referenceId']\n        video_id = compat_str(video_data.get('id') or brightcove_id)\n        title = common_data['name']\n\n        thumbnails = [{\n            'id': thumbnail_id,\n            'url': thumbnail_url,\n            'width': int_or_none(thumbnail_id[1:])\n        } for thumbnail_id, thumbnail_url in common_data.get('image', {}).get('sizes', {}).items()]\n\n        return {\n            '_type': 'url_transparent',\n            'url': smuggle_url(\n                self.BRIGHTCOVE_URL_TEMPLATE % brightcove_id,\n                {'geo_countries': self._GEO_COUNTRIES}),\n            'id': video_id,\n            'title': title,","sourceCodeStart":52,"sourceCodeEnd":88,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/ninenow.py#L52-L88","documentation":"Error \"This video is DRM protected.\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/ninenow.py:70 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-15T22:17:37.221Z"}