code: def iterate_pages(self):
          
          try:
              while not self.is_last_page:
                  self.current_page += 1
                  yield self._query(ItemPage=self.current_page, **self.kwargs)
          except NoMorePages:
              pass
docs: Iterate Pages.
  
          A generator which iterates over all pages.
          Keep in mind that Amazon limits the number of pages it makes available.
  
          :return:
              Yields lxml root elements.