__author__ = 'ali' from EpubMiner import EpubMiner if __name__ == "__main__": # 1176 # 672 18/ 10- #### Missing Range finder # awk '$1!=p+1{print p+1"-"$1-1}{p=$1}' book.log #### Missing Range finder epub_file = '../data/1583.epub' book = EpubMiner(epub_file) book.extract_narrators() book.dump_to_mongodb('1583epub') # book.prettify_dump() book.stats()
def test_concat_pages(self): book = EpubMiner('../data/1583.epub') book.extract_narrators()