Skip to content

Commit

Permalink
fix(exhentai): can't get the first page info of list (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
orzyyyy authored Jul 17, 2019
1 parent daf0969 commit 18fc87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/service/ExhentaiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class ExhentaiService {
};

getListInfo = async ({ pageIndex }: { pageIndex: number }) => {
await this.gotoTargetPage(this.config.href + pageIndex);
await this.gotoTargetPage(this.config.href + pageIndex, true);
const exHentaiInfo: ExHentaiInfoItem[] = await this.page.$$eval(
'div.gl1t',
(wrappers: any[]) =>
Expand Down

0 comments on commit 18fc87c

Please sign in to comment.