You are here

abstract protected function FeedsCrawlerBase::getNextUrl in Feeds Crawler 7.2

Subclasses must override this to return the next URL.

Parameters

FeedsSource $source: The feed source.

string $current_url: The current URL being fetched.

Return value

string The next URL.

Throws

FeedsCrawlerLinkNotFoundException Thrown if the next link could not be found.

1 call to FeedsCrawlerBase::getNextUrl()
FeedsCrawlerBase::fetch in src/FeedsCrawlerBase.php
2 methods override FeedsCrawlerBase::getNextUrl()
FeedsCrawlerNext::getNextUrl in src/FeedsCrawlerNext.php
Subclasses must override this to return the next URL.
FeedsCrawlerPattern::getNextUrl in src/FeedsCrawlerPattern.php
Subclasses must override this to return the next URL.

File

src/FeedsCrawlerBase.php, line 27
Contains FeedsCrawler.

Class

FeedsCrawlerBase
The fetcher class that implements crawling.

Code

protected abstract function getNextUrl(FeedsSource $source, $current_url);