mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-25 01:21:15 +12:00
Fix html scraping
This commit is contained in:
parent
8c61e1b478
commit
45d422d9a1
|
@ -642,7 +642,7 @@ class FimFic2Epub extends Emitter {
|
|||
let chapterPos = html.indexOf('<div class="bbcode">')
|
||||
let chapter = html.substring(chapterPos + 20)
|
||||
|
||||
let pos = chapter.indexOf('\t\t</div>\n')
|
||||
let pos = chapter.indexOf('\t\t</div>\n\t</div>')
|
||||
|
||||
chapter = chapter.substring(0, pos).trim()
|
||||
|
||||
|
|
Loading…
Reference in a new issue