First attempt with urllib, seems deceptively simple.