script throw FileNotFoundError while trying to download the first page of the book
MiChiamerebbiLuca opened this issue · comments
MiChiamerebbiLuca commented
it happens with all books, not just this one.
[Selected book] Title: 'b'Il nuovo Millennium 3''
Author: b'Gianni Gentile, Luigi Ronga, Anna Rossi'
Publisher: b'La Scuola'
ISBN: b'9788835043966'
Pages: 1126
Downloading page 1/1126...Traceback (most recent call last):
File "c:\Users\lucaa\Desktop\New folder\scuol.py", line 58, in <module>
f = open(cache + filename + ".jpg", "wb")
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/8aa7bdeb1ca90fce28d7e2a82951721b.jpg'
thank you!
Alessio Nossa commented
Please try the refactored version of the script that has just been merged
MiChiamerebbiLuca commented
works fine, thank you!