diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-27 04:36:23 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-27 04:43:43 +0530 |
commit | 8a82af3511b4379af0d239dbd01c672c17a2c46a (patch) | |
tree | 6ab4c4cf233a5338c0be101919e0c64108ac8cc3 /yt_dlp/extractor/common.py | |
parent | 8246f8402b77dfb5c905e97b04b09f89632575d9 (diff) | |
download | hypervideo-pre-8a82af3511b4379af0d239dbd01c672c17a2c46a.tar.lz hypervideo-pre-8a82af3511b4379af0d239dbd01c672c17a2c46a.tar.xz hypervideo-pre-8a82af3511b4379af0d239dbd01c672c17a2c46a.zip |
[cleanup] Misc fixes and cleanup
Closes #3780, Closes #3853, Closes #3850
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index eee908089..b24599d5f 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -610,8 +610,7 @@ class InfoExtractor: if ip_block: self._x_forwarded_for_ip = GeoUtils.random_ipv4(ip_block) - self._downloader.write_debug( - '[debug] Using fake IP %s as X-Forwarded-For' % self._x_forwarded_for_ip) + self.write_debug(f'Using fake IP {self._x_forwarded_for_ip} as X-Forwarded-For') return # Path 2: bypassing based on country code |