Stories from the Web Crawling trenches in SSL warnings

Accessing Your Local Web Server from Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Accessing a development server on localhost is easy with Python requests: Use http://localhost or http://127.0.0.1, Add the port your server uses like :8000, Disable SSL warnings for HTTPS, Import requests and call get/post as usual!

Making HTTP Requests in Python Without SSL Verification

Author: Mohan Ganesan

Date: Feb 3, 2024

Disable SSL verification for Python requests to improve flexibility and control, but be cautious as it reduces security.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!