Update yt_dlp/extractor/bilibili.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
pull/9817/head
fireattack 3 weeks ago committed by GitHub
parent 68898ac5cd
commit 295ee673ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -667,7 +667,7 @@ class BiliBiliBangumiIE(BilibiliBaseIE):
def _real_extract(self, url):
episode_id = self._match_id(url)
headers = {'Referer': url, **self.geo_verification_headers()}
headers = self.geo_verification_headers()
webpage = self._download_webpage(url, episode_id, headers=headers)
if '您所在的地区无法观看本片' in webpage:

Loading…
Cancel
Save