%cd /content
import urllib, requests
from notebook import notebookapp
name = requests.get(f"{list(notebookapp.list_running_servers())[0]['url']}api/sessions").json()[0]["name"].replace("_run", "")
url = '/'.join(urllib.parse.unquote(requests.get(f"{list(notebookapp.list_running_servers())[0]['url']}api/sessions").json()[0]["path"].split("=", 1)[1]).split("/")).replace("/blob/", "/").replace("github.com", "raw.githubusercontent.com").replace("_run", "")
!wget {url} -O {name}
%run {name}