'Determine pages based on the presense of
<mbp:pagebreak>.'

def get_pages_pagebreak_tag(self, mobi_file_path):

    pages = []
    mr = MobiReader(mobi_file_path, default_log)
    if (mr.book_header.encryption_type != 0):
        return self.get_pages_fast(mobi_file_path)
    mr.extract_text()
    html = mr.mobi_html.lower()
    for m in re.finditer('<[^>]*pagebreak[^>]*>', html):
        pages.append(m.end())
    return pages
