From a90f27a715abb6fb678861c13e263f2f6ffa65e7 Mon Sep 17 00:00:00 2001 From: monosans Date: Tue, 10 May 2022 15:55:10 +0300 Subject: [PATCH] Don't specify encoding on reading the response --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cb8fa91..5e13f53 100755 --- a/main.py +++ b/main.py @@ -185,7 +185,7 @@ class ProxyScraperChecker: source = source.strip() try: async with session.get(source, timeout=15) as r: - text = await r.text(encoding="utf-8") + text = await r.text() except Exception as e: self.c.print(f"{source}: {e}") else: