Add tests for Imgur

This commit is contained in:
Serene-Arc
2021-02-27 16:22:42 +10:00
committed by Ali Parlakci
parent 125b78a348
commit b699639b5c
2 changed files with 76 additions and 1 deletions

View File

@@ -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: