fix downloader

This commit is contained in:
Your Name 2024-05-31 22:08:13 -04:00 committed by Henri Dickson
parent a8417fca8b
commit c52ac69ae9

View file

@ -159,6 +159,7 @@ class BasicDownloader:
DownloaderResponse, DownloaderResponse,
requests.get(url, headers=self.headers, timeout=self.get_timeout()), requests.get(url, headers=self.headers, timeout=self.get_timeout()),
) )
resp.__class__ = DownloaderResponse
if settings.DOWNLOADER_SAVEDIR: if settings.DOWNLOADER_SAVEDIR:
try: try:
with open( with open(