def METHOD_NAME(self, path):
    url = self.root + path
    params = {"page": 1}
    while True:
        page = self.request(url, params=params).text
        cnt = 0
        for post in text.extract_iter(
                page, '<li class="gallery-item">', '</li>'):
            cnt += 1
            yield self._parse_post(post)
        if cnt == 0 and params["page"] == 1:
            token, pos = text.extract(
                page, '<input name="_token" type="hidden" value="', '"')
            if not token:
                return
            data = {
                "_token": token,
                "user"  : text.extract(page, 'value="', '"', pos)[0],
            }
            self.request(self.root + "/~account/warnings/accept",
                         method="POST", data=data, allow_redirects=False)
            continue
        if cnt < 18:
            return
        params["page"] += 1