[extractor/common] Fix json dumping with --geo-bypass
[youtube-dl] / youtube_dl / extractor / common.py
index 941385ae2eb3bd844989d19efb86f233c50d45c8..6e415ea41c35e773650d41b274c3a33c6b589b78 100644 (file)
@@ -420,7 +420,7 @@ class InfoExtractor(object):
             if country_code:
                 self._x_forwarded_for_ip = GeoUtils.random_ipv4(country_code)
                 if self._downloader.params.get('verbose', False):
-                    self._downloader.to_stdout(
+                    self._downloader.to_screen(
                         '[debug] Using fake IP %s (%s) as X-Forwarded-For.'
                         % (self._x_forwarded_for_ip, country_code.upper()))