add http2

This commit is contained in:
2025-04-20 01:46:58 +02:00
parent ed5a381262
commit a061ee20a8

View File

@@ -186,6 +186,7 @@ class DownloadManager(QObject):
follow_redirects=True, follow_redirects=True,
verify=False, verify=False,
cookies=self.cookies, cookies=self.cookies,
http2=True,
) as client: ) as client:
# requête pour le téléchargement # requête pour le téléchargement
async with client.stream("GET", file.url, headers=headers) as response: async with client.stream("GET", file.url, headers=headers) as response: