fix downloader
This commit is contained in:
parent
a8417fca8b
commit
c52ac69ae9
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ class BasicDownloader:
|
|||
DownloaderResponse,
|
||||
requests.get(url, headers=self.headers, timeout=self.get_timeout()),
|
||||
)
|
||||
resp.__class__ = DownloaderResponse
|
||||
if settings.DOWNLOADER_SAVEDIR:
|
||||
try:
|
||||
with open(
|
||||
|
|
Loading…
Add table
Reference in a new issue