parse 发表于 2017-12-11 | 分类于 python , stdlib 解析URL123url = 'https://www.archdaily.com/search/projects/categories/adaptive-reuse?page=22'parseResult = parse.urlparse(url)print(parseResult) 输出结果1ParseResult(scheme='https', netloc='www.archdaily.com', path='/search/projects/categories/adaptive-reuse', params='', query='page=22', fragment='')