4
0
mirror of https://github.com/RicterZ/nhentai.git synced 2025-05-05 19:10:59 +02:00

fix: update threads argument

This commit is contained in:
normalizedwater546 2024-11-23 11:20:58 +00:00
parent 49e5a3094a
commit 0754caaeb7

@ -20,7 +20,7 @@ class TestDownload(unittest.TestCase):
def test_download(self):
did = 440546
info = Doujinshi(**doujinshi_parser(did), name_format='%i')
info.downloader = Downloader(path='/tmp', size=5)
info.downloader = Downloader(path='/tmp', threads=5)
info.download()
self.assertTrue(os.path.exists(f'/tmp/{did}/001.jpg'))