import urllib.parse
url = 'http://www.example.org/default.html?ct=32&op=92&item=98'
urllib.parse.urlsplit(url)
urllib.parse.parse_qs(urllib.parse.urlsplit(url).query)
URL query parameters to dict python