your way is probably faster but could also do `xpi = url.lstrip(base_url)`