from urllib.parse import urlencode
 
url = f'{url}?{urlencode(param)}'