A feature-rich command-line audio/video downloader
[svt] Improve geo restriction detection and use geo bypass mechanism
Sergey M․04d906eae307
diff --git a/youtube_dl/extractor/svt.py b/youtube_dl/extractor/svt.pyindex 10cf808857..f2a2200bf8 100644--- a/youtube_dl/extractor/svt.py+++ b/youtube_dl/extractor/svt.py@@ -38,7 +38,8 @@ class SVTBaseIE(InfoExtractor):'url': vurl,})if not formats and video_info.get('rights', {}).get('geoBlockedSweden'):- self.raise_geo_restricted('This video is only available in Sweden')+ self.raise_geo_restricted(+ 'This video is only available in Sweden', countries=['SE'])self._sort_formats(formats)subtitles = {}