Fixes bug in chapter count

This commit is contained in:
Nemo 2017-09-15 12:07:25 +05:30
parent bbd1f960c3
commit 040b54a9a3
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ end
# Now we have all the files
html = ""
for i in 1..3
for i in 1..(links.length)
page = Nokogiri::HTML(open("html/#{i}.html")).css('.entry-content')
start = ending = false
page.children.each do |e|