Fix up requests API, parse url differently