Fixes bug in chapter count
This commit is contained in:
parent
bbd1f960c3
commit
040b54a9a3
2
setup.rb
2
setup.rb
|
@ -33,7 +33,7 @@ end
|
||||||
|
|
||||||
# Now we have all the files
|
# Now we have all the files
|
||||||
html = ""
|
html = ""
|
||||||
for i in 1..3
|
for i in 1..(links.length)
|
||||||
page = Nokogiri::HTML(open("html/#{i}.html")).css('.entry-content')
|
page = Nokogiri::HTML(open("html/#{i}.html")).css('.entry-content')
|
||||||
start = ending = false
|
start = ending = false
|
||||||
page.children.each do |e|
|
page.children.each do |e|
|
||||||
|
|
Loading…
Reference in New Issue