{"record":{"id":"6aeb05e2a41f3f85","repo":"ytdl-org/youtube-dl","slug":"wrong-username-and-or-password","errorCode":null,"errorMessage":"Wrong username and/or password.","messagePattern":"Wrong username and/or password\\.","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/eroprofile.py","lineNumber":57,"sourceCode":"        'skip': 'Requires login',\n    }]\n\n    def _login(self):\n        (username, password) = self._get_login_info()\n        if username is None:\n            return\n\n        query = compat_urllib_parse_urlencode({\n            'username': username,\n            'password': password,\n            'url': 'http://www.eroprofile.com/',\n        })\n        login_url = self._LOGIN_URL + query\n        login_page = self._download_webpage(login_url, None, False)\n\n        m = re.search(r'Your username or password was incorrect\\.', login_page)\n        if m:\n            raise ExtractorError(\n                'Wrong username and/or password.', expected=True)\n\n        self.report_login()\n        redirect_url = self._search_regex(\n            r'<script[^>]+?src=\"([^\"]+)\"', login_page, 'login redirect url')\n        self._download_webpage(redirect_url, None, False)\n\n    def _real_initialize(self):\n        self._login()\n\n    def _real_extract(self, url):\n        display_id = self._match_id(url)\n\n        webpage = self._download_webpage(url, display_id)\n\n        m = re.search(r'You must be logged in to view this video\\.', webpage)\n        if m:\n            self.raise_login_required('This video requires login')","sourceCodeStart":39,"sourceCodeEnd":75,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/eroprofile.py#L39-L75","documentation":"Error \"Wrong username and/or password.\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/eroprofile.py:57 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check your EroProfile username and password and retry with correct credentials."],"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"}