Updated functionality to match new API.
Pagination for getting more headlines.