Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 3dd0906

Browse files
author
anatolii
committed
readme updated
1 parent 7d6b8ce commit 3dd0906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $ composer require xparse/recursive-pagination
3030
$paginator->addToQueue('http://www.example.com/first/page/to/parse.html');
3131

3232
$allLinks = [];
33-
while ($page = $paginator->getNextPaginationPage()) {
33+
while ($page = $paginator->getNextPage()) {
3434
$adsList = $page->attribute("//div[@class='itemdetails']//a/@href")->getItems();
3535
$allLinks = array_values(array_unique(array_merge($allLinks, $adsList)));
3636
}

0 commit comments

Comments
 (0)