Python Forum
Proxy Checking Software Error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Proxy Checking Software Error
#3
(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
Reply


Messages In This Thread
Proxy Checking Software Error - by rizzla - Jan-19-2021, 08:47 AM
RE: Proxy Checking Software Error - by buran - Jan-19-2021, 09:06 AM
RE: Proxy Checking Software Error - by rizzla - Jan-19-2021, 09:16 AM
RE: Proxy Checking Software Error - by buran - Jan-19-2021, 09:32 AM
RE: Proxy Checking Software Error - by rizzla - Jan-19-2021, 09:38 AM
RE: Proxy Checking Software Error - by rizzla - Jan-19-2021, 09:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error while checking for key in Dictionary onenessboy 5 3,914 Aug-14-2020, 01:06 PM
Last Post: onenessboy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020