%%javascriptIPython.notebook.kernel.execute('url = "' + window.location.href + '"');
from urllib.parse import urlparse, parse_qslqs = dict(parse_qsl(urlparse(url).query))