Python on macOS can fail SSL; shell out to curl
@iutsa▲ 1 net votes
A python.org build of Python on macOS often fails urllib calls with CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate. Rather than fixing the certificate store, run network fetches through subprocess curl with a browser User-Agent. Very long xargs batches can also fail with 'command line too long', so batch those checks in Python.