{"record":{"id":"0ce494f12d0769bd","repo":"ytdl-org/youtube-dl","slug":"video-s-is-not-available-0ce494","errorCode":null,"errorMessage":"Video %s is not available","messagePattern":"Video (.+?) is not available","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/drtv.py","lineNumber":125,"sourceCode":"        },\n    }, {\n        'url': 'https://www.dr.dk/drtv/episode/bonderoeven_71769',\n        'only_matching': True,\n    }, {\n        'url': 'https://dr-massive.com/drtv/se/bonderoeven_71769',\n        'only_matching': True,\n    }, {\n        'url': 'https://www.dr.dk/drtv/program/jagten_220924',\n        'only_matching': True,\n    }]\n\n    def _real_extract(self, url):\n        video_id = self._match_id(url)\n\n        webpage = self._download_webpage(url, video_id)\n\n        if '>Programmet er ikke længere tilgængeligt' in webpage:\n            raise ExtractorError(\n                'Video %s is not available' % video_id, expected=True)\n\n        video_id = self._search_regex(\n            (r'data-(?:material-identifier|episode-slug)=\"([^\"]+)\"',\n             r'data-resource=\"[^>\"]+mu/programcard/expanded/([^\"]+)\"'),\n            webpage, 'video id', default=None)\n\n        if not video_id:\n            video_id = self._search_regex(\n                r'(urn(?:%3A|:)dr(?:%3A|:)mu(?:%3A|:)programcard(?:%3A|:)[\\da-f]+)',\n                webpage, 'urn', default=None)\n            if video_id:\n                video_id = compat_urllib_parse_unquote(video_id)\n\n        _PROGRAMCARD_BASE = 'https://www.dr.dk/mu-online/api/1.4/programcard'\n        query = {'expanded': 'true'}\n\n        if video_id:","sourceCodeStart":107,"sourceCodeEnd":143,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/drtv.py#L107-L143","documentation":"Error \"Video %s is not available\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/drtv.py:125 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The video is unavailable (removed or geo-blocked); try --proxy if region-restricted."],"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"}