{"record":{"id":"2cfd595ca00f115f","repo":"ytdl-org/youtube-dl","slug":"the-webpage-doesn-t-contain-any-video","errorCode":null,"errorMessage":"The webpage doesn't contain any video","messagePattern":"The webpage doesn't contain any video","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/rtve.py","lineNumber":265,"sourceCode":"            'id': '3069778',\n            'ext': 'mp4',\n            'title': 'Documentos TV - La revolución del móvil',\n            'duration': 3496.948,\n        },\n        'params': {\n            'skip_download': True,\n        },\n    }\n\n    def _real_extract(self, url):\n        page_id = self._match_id(url)\n        webpage = self._download_webpage(url, page_id)\n\n        alacarta_url = self._search_regex(\n            r'data-location=\"alacarta_videos\"[^<]+url&quot;:&quot;(http://www\\.rtve\\.es/alacarta.+?)&',\n            webpage, 'alacarta url', default=None)\n        if alacarta_url is None:\n            raise ExtractorError(\n                'The webpage doesn\\'t contain any video', expected=True)\n\n        return self.url_result(alacarta_url, ie=RTVEALaCartaIE.ie_key())\n","sourceCodeStart":247,"sourceCodeEnd":269,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/rtve.py#L247-L269","documentation":"Raised by the RTVE infantil/infantil-series extractor when the downloaded webpage contains no data-location=\"alacarta_videos\" attribute, i.e. the page exposes no alacarta URL to delegate to RTVEALaCartaIE. Expected=True.","triggerScenarios":"Extracting an rtve.es/infantil URL (or any URL handled by this IE) whose HTML lacks the data-location alacarta marker - removed episodes, non-video pages, or pages served in a different markup to the downloader.","commonSituations":"Expired children's-content pages after RTVE restructured the section; URL falls through to this IE because the more specific IEs did not match.","solutions":["Open the URL in a browser to confirm it still hosts a video.","If the content moved, find the new alacarta URL and use it directly (it will be handled by RTVEALaCartaIE).","If the page is fine in a browser, the marker attribute changed - update youtube-dl / the regex."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try:\n    ydl.extract_info(url)\nexcept ExtractorError as e:\n    if \"doesn't contain any video\" in str(e):\n        skip(url)  # no alacarta delegate target on the page\n    else:\n        raise","preventionTips":["Confirm the infantil page still embeds a player in a browser.","Prefer direct /alacarta/ URLs when you have them - they skip this delegation step entirely.","Update youtube-dl if RTVE changed the data-location markup."],"tags":["rtve","no-video","markup-change","expected-error"],"backgroundTag":null,"analyzedSha":"956b8c585591b401a543e409accb163eeaaa1193","analyzedAt":"2026-08-14T18:59:47.863Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}