Stories from the Web Crawling trenches in TCPServer

Building a Super Simple HTTP Proxy in Ruby in just 9 lines of code

Author: Mohan Ganesan

Date: Oct 1, 2023

Building a Simple HTTP Proxy in Ruby. Learn how to create a basic HTTP proxy using Ruby's socket library and net/http. Also, discover the importance of using a rotating proxy service to avoid IP blocking.

How to Build a Super Simple HTTP Proxy in Objective-C in Just 14 Lines of Code

Author: Mohan Ganesan

Date: Oct 1, 2023

Learn how to build a simple HTTP proxy in Objective-C using the Foundation framework and networking APIs.

Serving HTTP Requests Efficiently with aiohttp's TCPServer

Author: Mohan Ganesan

Date: Mar 3, 2024

The aiohttp Python library provides powerful tools for building asynchronous HTTP services. TCPServer is a key component that handles details like accepting connections, reading/writing data, and closing connections. It supports HTTPS, handles concurrent connections efficiently, and is useful for microservices and API backends.

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!