Add tests for Imgur

This commit is contained in:
Serene-Arc authored and Ali Parlakci committed 2021-04-18 16:44:05 +03:00
1 parent 125b78a348
commit b699639b5c
2 files changed
+76 -1

No files matched your search

@@ -32,7 +32,7 @@ class Imgur(BaseDownloader):
self.raw_data = self._get_data(link)
if self._is_album:
if self._is_album():
if self.raw_data["album_images"]["count"] != 1:
out = self._download_album(self.raw_data["album_images"])
else: