zaza / olx-rss

Fluent Java API and RSS feed generator for OLX search results
MIT License
10 stars 2 forks source link

OlxScrapper.getOffers should return an iterator #10

Open zaza opened 7 years ago

zaza commented 7 years ago

Using an iterator would only process additional pages if actually needed. There is no point in eagerly collecting all offers if we're only interested in the first few.