(Jan-19-2021, 09:06 AM)buran Wrote: for start, I would not use check_proxies
as name for both outer and nested function and also would not nest function like this - it just complicates the code (flat is better than nested remember?)
also, unless proxy
you pass on line 19 is some sort of collection (in which case plural name is more appropriate) I don't see the point of using ThreadPoolExecuter
and passing str
will probably cause an error.
I think the problem is that you requests https
while proxy is defined only for http
schema and thus for https
it is overridden by system defaults.
proxy
is a list. and i have changed the function name. the point of a threadpoolexecutor is to check faster using threads. and how do i use both, HTTP and HTTPs proxies? cause its a mix of them