diff --git a/proxylists/__init__.py b/proxylists/__init__.py index a442f91..15439d7 100644 --- a/proxylists/__init__.py +++ b/proxylists/__init__.py @@ -10,7 +10,10 @@ async def proxy_list(): proxies = [] for proxy in PROXY_LIST: p = await proxy().get_list() - proxies = proxies + p + try: + proxies = proxies + p + except TypeError: + continue return proxies diff --git a/proxylists/version.py b/proxylists/version.py index 833fe5b..ec7d35e 100644 --- a/proxylists/version.py +++ b/proxylists/version.py @@ -3,7 +3,7 @@ __title__ = 'proxylists' __description__ = ('Package for getting useful proxy servers, ' 'can use lists like hidemy or proxydb.') -__version__ = '0.11.1' +__version__ = '0.11.3' __author__ = 'Jesus Lara' __author_email__ = 'jesuslarag@gmail.com' __license__ = 'BSD'