theslavicbear / Ebook-Publisher

A Python tool for converting online stories into portable formats
MIT License
35 stars 2 forks source link

Story download from chyoa which contains images is not working #57

Closed choeronline closed 4 years ago

choeronline commented 4 years ago

Here is the error, I am getting while downloading story from choya which contains images:

Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, *self._kwargs) File "/ebook-publisher/Ebook-Publisher.py", line 187, in MakeClass formatsft File "/ebook-publisher/Ebook-Publisher.py", line 32, in 'epub':lambda x:MakeEpub(x), File "/ebook-publisher/Ebook-Publisher.py", line 158, in MakeEpub zeros = '0' (len(str(site.isize))-1) AttributeError: 'Chyoa' object has no attribute 'isize'

theslavicbear commented 4 years ago

This should be fixed now as of commit b93afd6b1f68aeb72e187d3a96c89e2cbf31dee4