{"record":{"id":"0d1bc5ab011d045b","repo":"ytdl-org/youtube-dl","slug":"this-video-is-not-available-from-your-location-due","errorCode":null,"errorMessage":"This video is not available from your location due to geo restriction","messagePattern":"This video is not available from your location due to geo restriction","errorType":"exception","errorClass":"GeoRestrictedError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/common.py","lineNumber":1018,"sourceCode":"        self.to_screen('%s: Downloading webpage' % video_id)\n\n    def report_age_confirmation(self):\n        \"\"\"Report attempt to confirm age.\"\"\"\n        self.to_screen('Confirming age')\n\n    def report_login(self):\n        \"\"\"Report attempt to log in.\"\"\"\n        self.to_screen('Logging in')\n\n    @staticmethod\n    def raise_login_required(msg='This video is only available for registered users'):\n        raise ExtractorError(\n            '%s. Use --username and --password or --netrc to provide account credentials.' % msg,\n            expected=True)\n\n    @staticmethod\n    def raise_geo_restricted(msg='This video is not available from your location due to geo restriction', countries=None):\n        raise GeoRestrictedError(msg, countries=countries)\n\n    def raise_no_formats(self, msg, expected=False, video_id=None):\n        if expected and (\n                self.get_param('ignore_no_formats_error') or self.get_param('wait_for_video')):\n            self.report_warning(msg, video_id)\n        elif isinstance(msg, ExtractorError):\n            raise msg\n        else:\n            raise ExtractorError(msg, expected=expected, video_id=video_id)\n\n    # Methods for following #608\n    @staticmethod\n    def url_result(url, ie=None, video_id=None, video_title=None):\n        \"\"\"Returns a URL that points to a page that should be processed\"\"\"\n        # TODO: ie should be the class used for getting the info\n        video_info = {'_type': 'url',\n                      'url': url,\n                      'ie_key': ie}","sourceCodeStart":1000,"sourceCodeEnd":1036,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/common.py#L1000-L1036","documentation":"Error \"This video is not available from your location due to geo restriction\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/common.py:1018 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use --proxy with a server located in an allowed region to bypass the geo restriction."],"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"}