Add private function _get_url() to factorize sharrre.py a bit