new version with requests and account for url-errors
keep older versions