Преглед изворни кода

[vbox7] Improve geo restriction detection and use geo bypass mechanism

Sergey M․ пре 8 година
родитељ
комит
89cc7fe770
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      youtube_dl/extractor/vbox7.py

+ 1 - 1
youtube_dl/extractor/vbox7.py

@@ -78,7 +78,7 @@ class Vbox7IE(InfoExtractor):
         video_url = video['src']
 
         if '/na.mp4' in video_url:
-            self.raise_geo_restricted()
+            self.raise_geo_restricted(countries=['BG'])
 
         uploader = video.get('uploader')