Optimized urllib usage.