mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 09:10:09 +01:00
[vbox7] Improve geo restriction detection and use geo bypass mechanism
This commit is contained in:
parent
04d906eae3
commit
89cc7fe770
@ -78,7 +78,7 @@ def _real_extract(self, url):
|
|||||||
video_url = video['src']
|
video_url = video['src']
|
||||||
|
|
||||||
if '/na.mp4' in video_url:
|
if '/na.mp4' in video_url:
|
||||||
self.raise_geo_restricted()
|
self.raise_geo_restricted(countries=['BG'])
|
||||||
|
|
||||||
uploader = video.get('uploader')
|
uploader = video.get('uploader')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user