theslavicbear / Ebook-Publisher

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

CHYOA Download Issue for certain chapters #102

Open buisel opened 3 weeks ago

buisel commented 3 weeks ago

When downloading a CHYOA story, certain chapters are saved missing most of their content. The author, the title and the question are saved. But the chapter-content is blank, except for: <p><strong><u><em>[Opening Header]</em></u></strong></p></div> As far as I can tell, only chapters with this specific combination included as the first thing in their chapter-content don't download. I might be completely wrong, but this is the only thing in common the failures seem to have.

Full example of what I'm talking about below, thanks for any help!.


<h2>[TITLE]</h2>
<h4>by  [Author]</h4>
<div class="chapter-content">
<p><strong><u><em>[Opening Header]</em></u></strong></p>
</div>
<h2>What's next?</h2>
<br/>
</body>