A feature-rich command-line audio/video downloader
[extractor/common] Do not quit _initialize_geo_bypass on empty countries
Sergey M․336a76551b92
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.pyindex 6d4789d963..a34fbbc9b2 100644--- a/youtube_dl/extractor/common.py+++ b/youtube_dl/extractor/common.py@@ -393,7 +393,6 @@ class InfoExtractor(object):is selected and a random IP belonging to this country is generated. ThisIP will be passed as X-Forwarded-For HTTP header in all subsequentHTTP requests.- Method does nothing if no countries are specified.This method will be used for initial geo bypass mechanism initializationduring the instance initialization with _GEO_COUNTRIES.@@ -402,8 +401,6 @@ class InfoExtractor(object):information is not available beforehand (e.g. obtained duringextraction) or due to some another reason."""- if not countries:- returnif not self._x_forwarded_for_ip:country_code = self._downloader.params.get('geo_bypass_country', None)# If there is no explicit country for geo bypass specified and