mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-07-12 22:22:30 +02:00
Move norbert from aiohttp to requests
Also fix streaming (when downloading) in the other classes.
This commit is contained in:
@ -56,5 +56,5 @@ class FfM:
|
||||
orga.add_file(temp_path, new_path)
|
||||
|
||||
def _download(self, url, to_path):
|
||||
with self._session.get(url) as r:
|
||||
with self._session.get(url, stream=True) as r:
|
||||
stream_to_path(r, to_path)
|
||||
|
Reference in New Issue
Block a user