{"record":{"id":"d8ddd3e657501ae7","repo":"ytdl-org/youtube-dl","slug":"failed-to-get-the-video-url","errorCode":null,"errorMessage":"Failed to get the video URL","messagePattern":"Failed to get the video URL","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/jove.py","lineNumber":59,"sourceCode":"    ]\n\n    def _real_extract(self, url):\n        mobj = re.match(self._VALID_URL, url)\n        video_id = mobj.group('id')\n\n        webpage = self._download_webpage(url, video_id)\n\n        chapters_id = self._html_search_regex(\n            r'/video-chapters\\?videoid=([0-9]+)', webpage, 'chapters id')\n\n        chapters_xml = self._download_xml(\n            self._CHAPTERS_URL.format(video_id=chapters_id),\n            video_id, note='Downloading chapters XML',\n            errnote='Failed to download chapters XML')\n\n        video_url = chapters_xml.attrib.get('video')\n        if not video_url:\n            raise ExtractorError('Failed to get the video URL')\n\n        title = self._html_search_meta('citation_title', webpage, 'title')\n        thumbnail = self._og_search_thumbnail(webpage)\n        description = self._html_search_regex(\n            r'<div id=\"section_body_summary\"><p class=\"jove_content\">(.+?)</p>',\n            webpage, 'description', fatal=False)\n        publish_date = unified_strdate(self._html_search_meta(\n            'citation_publication_date', webpage, 'publish date', fatal=False))\n        comment_count = int(self._html_search_regex(\n            r'<meta name=\"num_comments\" content=\"(\\d+) Comments?\"',\n            webpage, 'comment count', fatal=False))\n\n        return {\n            'id': video_id,\n            'title': title,\n            'url': video_url,\n            'thumbnail': thumbnail,\n            'description': description,","sourceCodeStart":41,"sourceCodeEnd":77,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/jove.py#L41-L77","documentation":"Raised by the Jove extractor when the chapters XML document (fetched from jove.com's video-chapters endpoint) has no 'video' attribute on its root element. That attribute is the sole source of the actual media URL, so without it extraction cannot continue.","triggerScenarios":"The regex /video-chapters\\?videoid=(\\d+) finds a chapters ID, _download_xml succeeds, but chapters_xml.attrib.get('video') is empty - server-side the video was unlinked from its chapters, the ID is stale, or Jove changed the XML schema.","commonSituations":"Removed or re-published Jove science videos whose chapter records no longer reference a media file; rare schema changes on Jove's XML service.","solutions":["Verify the Jove video page still exists and plays in a browser.","Update youtube-dl/yt-dlp in case the XML attribute was renamed.","Report the specific video ID upstream if it persists across versions."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try:\n    ydl.extract_info(jove_url)\nexcept ExtractorError as e:\n    if 'Failed to get the video URL' in str(e):\n        mark_broken(jove_url)  # chapters XML lacks media ref; not retryable","preventionTips":["Verify Jove pages resolve in a browser before batch extraction.","Treat as permanent per-URL failure (server-side media unlink).","Report persistent cases upstream with the video ID."],"tags":["extractor","jove","xml","media-url","schema-change"],"backgroundTag":null,"analyzedSha":"956b8c585591b401a543e409accb163eeaaa1193","analyzedAt":"2026-08-14T18:59:47.863Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}