def _fetch(self):
        statuses = []
        while True:
            max_id = len(statuses) and statuses[-1].id - 1 or None
            chunk = self._api.GetListTimeline(
                slug=self._list_id,
                owner_screen_name=self._list_owner,
                max_id=max_id,
                count=40,
                include_rts=True,
                include_entities=True)
            statuses.extend(chunk)
            if not chunk or \
                chunk[-1].created_at_in_seconds < self._digest_start_time:
                break
        return statuses
dataset/ETHPy150Open mihaip/streamspigot/app/tweetdigest/data.py/ListTwitterFetcher._fetch/original