]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vbox7] Improve geo restriction detection and use geo bypass mechanism
authorSergey M․ <dstftw@gmail.com>
Sat, 4 Feb 2017 11:52:42 +0000 (18:52 +0700)
committerSergey M <dstftw@gmail.com>
Sat, 18 Feb 2017 21:10:08 +0000 (05:10 +0800)
youtube_dl/extractor/vbox7.py

index bef6394626d4eca25785d35199c1092f69f45b54..f86d804c1677e6cc1eceff03cfe3d76affbf2e7a 100644 (file)
@@ -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')