Skip to content

Commit

Permalink
docs: minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-hxl committed Nov 9, 2023
1 parent 7eff54b commit 453cd80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ myXCrawl.startPolling({ d: 1 }, async (count, stopPolling) => {
const urls = await page.$$eval(`${elSelector} picture img`, (imgEls) =>
imgEls.map((item) => item.src)
)
imgUrls.push(...urls.slice(0, 8))
imgUrls.push(...urls.slice(0, 6))

// close the page
page.close()
Expand Down
2 changes: 1 addition & 1 deletion docs/cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ myXCrawl.startPolling({ d: 1 }, async (count, stopPolling) => {
const urls = await page.$$eval(`${elSelector} picture img`, (imgEls) =>
imgEls.map((item) => item.src)
)
imgUrls.push(...urls.slice(0, 8))
imgUrls.push(...urls.slice(0, 6))

// 关闭页面
page.close()
Expand Down
2 changes: 1 addition & 1 deletion publish/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ myXCrawl.startPolling({ d: 1 }, async (count, stopPolling) => {
const urls = await page.$$eval(`${elSelector} picture img`, (imgEls) =>
imgEls.map((item) => item.src)
)
imgUrls.push(...urls.slice(0, 8))
imgUrls.push(...urls.slice(0, 6))

// close the page
page.close()
Expand Down

0 comments on commit 453cd80

Please sign in to comment.