using the requests module to resolve urls