A feature-rich command-line audio/video downloader
[extractor/common] Fix json dumping with --geo-bypass
Yen Chi Hsuan6a9cb29509a3
diff --git a/ChangeLog b/ChangeLogindex 9b45f08e30..5cd0b3393c 100644--- a/ChangeLog+++ b/ChangeLog@@ -1,5 +1,8 @@version <unreleased>+Core+* [extractor/common] Fix json dumping with --geo-bypass+Extractors* [bilibili] Fix extraction of videos with double quotes in titles (#13387)diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.pyindex 941385ae2e..6e415ea41c 100644--- a/youtube_dl/extractor/common.py+++ b/youtube_dl/extractor/common.py@@ -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()))