Skip to content

Commit

Permalink
🌑
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Oct 9, 2024
1 parent 390f28c commit e9de09e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/extract-kindle-book.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ async function main() {
}

async function getPageNav() {
const footerText = await page.locator('ion-footer ion-title').first().textContent()
const footerText = await page
.locator('ion-footer ion-title')
.first()
.textContent()
return parsePageNav(footerText)
}

Expand Down

0 comments on commit e9de09e

Please sign in to comment.