Skip to content

Commit

Permalink
gameofscanlation, fix total sub page for chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
riderkick committed Jan 17, 2016
1 parent d39351f commit 58a0fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseunits/modules/GameofScanlation.pas
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function GetInfo(var MangaInfo: TMangaInformation; const AURL: String;
query.ParseHTML(Document);
if title=''then title:=query.XPathString('//div[@class="titleBarContent"]/h1');
GetChapters;
p:=StrToIntDef(query.XPathString('(//div[@class="PageNav"])[1]/@data-end'),1);
p:=StrToIntDef(query.XPathString('(//div[@class="PageNav"])[1]/@data-last'),1);
if p>1 then
for i:=2 to p do
if GET(rurl+'page-'+IntToStr(i)) then begin
Expand Down

0 comments on commit 58a0fd4

Please sign in to comment.