Build a web traffic monitor with Python