removed direct dependency to urllib