Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix catching for JDownloader connection exceptions.

Jules-WinnfieldX09597831efb9
diff --git a/cyberdrop_dl/scraper/JDownloader_Integration.py b/cyberdrop_dl/scraper/JDownloader_Integration.py
index 227292354..044624f0b 100644
--- a/cyberdrop_dl/scraper/JDownloader_Integration.py
+++ b/cyberdrop_dl/scraper/JDownloader_Integration.py
@@ -34,7 +34,7 @@ class JDownloader:
jd.set_app_key("CYBERDROP-DL")
jd.connect(self.jdownloader_username, self.jdownloader_password)
return jd.get_device(self.jdownloader_device)
- except JDownloaderFailure:
+ except (myjdapi.MYJDApiException, JDownloaderFailure) as e:
log("Failed JDownloader setup", quiet=self.quiet, style="red")
self.jdownloader_enable = False
return None