From 40de87860eeb76154b85b56a7dc3d9032cf77a69 Mon Sep 17 00:00:00 2001 From: CodeWriter21 Date: Mon, 25 Jul 2022 22:43:45 +0430 Subject: [PATCH] Minor improvements --- ProxyEater/Proxy.py | 2 +- ProxyEater/__init__.py | 2 +- README.md | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProxyEater/Proxy.py b/ProxyEater/Proxy.py index 3b830c6..6d6ef2c 100644 --- a/ProxyEater/Proxy.py +++ b/ProxyEater/Proxy.py @@ -249,7 +249,7 @@ def check_proxy(proxy_: Proxy): threads.remove(thread) break time.sleep(0.1) - on_progress_callback(self, (i + 1) / length * 100) + on_progress_callback(self, i / length * 100) for thread in threads: thread.join() diff --git a/ProxyEater/__init__.py b/ProxyEater/__init__.py index 2bcdf40..f316d3b 100644 --- a/ProxyEater/__init__.py +++ b/ProxyEater/__init__.py @@ -1,7 +1,7 @@ # ProxyEater # CodeWriter21 -__version__ = "1.4.3" +__version__ = "1.4.4" __author__ = "CodeWriter21" __email__ = "CodeWriter21@gmail.com" __license__ = "Apache-2.0" diff --git a/README.md b/README.md index 24bcbdf..678d7d3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -ProxyEater\[1.4.3\] +ProxyEater\[1.4.4\] =================== ![version](https://img.shields.io/pypi/v/ProxyEater) diff --git a/setup.py b/setup.py index 1894a15..4754c69 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='ProxyEater', - version='1.4.3', + version='1.4.4', author='CodeWriter21', author_email='CodeWriter21@gmail.com', description='A Python Proxy Scraper for gathering fresh proxies.',