Skip to content
Snippets Groups Projects
Commit 95e0d99d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

requests -> httpx

parent eb7bdf71
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ if __name__ == "__main__":
):
url = f"{GITLAB}/{namespace}/{project}/-/jobs/artifacts/{branch}/download"
path = DOC / namespace / project / branch
r = httpx.get(url, {"job": "doc-coverage"}, stream=True)
r = httpx.get(url, params={"job": "doc-coverage"})
try:
z = ZipFile(BytesIO(r.content))
path.mkdir(parents=True, exist_ok=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment