Skip to content

Commit

Permalink
Merge pull request #66 from my-dev-app/fix/timeouterror
Browse files Browse the repository at this point in the history
ADD: Catch Timeout error
  • Loading branch information
0x78f1935 authored Feb 9, 2024
2 parents afa257a + 98931bc commit 2239247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aproxyrelay/req.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ServerTimeoutError, \
InvalidURL
from aiosocks2.errors import SocksError
from asyncio import gather
from asyncio import gather, TimeoutError
from json import dumps

from .scrapers import proxy_list
Expand Down Expand Up @@ -195,5 +195,6 @@ async def _obtain_targets(self, proxy_url, target, session) -> None:
ServerTimeoutError,
InvalidURL,
SocksError,
TimeoutError,
):
self._queue_target_process.put(target)

0 comments on commit 2239247

Please sign in to comment.