gnarf def f(u): # 1 requests.head(u, verify=False) # 2 with multiprocessing.Pool...

@nyanbinary@infosec.exchange

gnarf

def f(u):
# 1
requests.head(u, verify=False)

# 2
with multiprocessing.Pool(4) as p:
p.map(f, somelist)

You want to supress the InsecureRequestWarning per request you are sending. Do you need to put requests.packages.urllib3.disable_warnings() in #1 or #2?

#2, right? You wanna do it globally, of course. Well, no, that doesn't work...