Open ethicalanuj opened 2 months ago
ssl:PROTOCOL_TLSv1_2 works no more replace with code below
try: sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) response = urlopen(q, timeout=args.timeout, context=sslcontext) except Exception as e: sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1) response = urlopen(q, timeout=args.timeout, context=sslcontext)
LinkFinder/linkfinder.py:133: DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated