const url = new URL("https://~;")
const params = new URLSearchParams(url.search)
params.get('q')