2022-10-14 URLから最後のスラッシュ以降の値を取得する python rfindを使えばすぐに取得可能 str_objct[str_objct.rfind('[sepalater]') + 1:] こんな感じ last_url[last_url.rfind('/') + 1:])