Don't specify encoding on reading the response

This commit is contained in:
monosans
2022-05-10 15:55:10 +03:00
parent 0da3850df9
commit a90f27a715
+1 -1
View File
@@ -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: