📜  python url join - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:31.347000             🧑  作者: Mango

代码示例2
from urllib.parse import urlparse, parse_qs
URL='https://someurl.com/with/query_string?i=main&mode=front&sid=12ab&enc=+Hello'
parsed_url = urlparse(URL)
parse_qs(parsed_url.query)