Beispiel #1
0
 def test_concat_pages(self):
     book = EpubMiner('../data/1583.epub')
     book.extract_narrators()
Beispiel #2
0
__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()
Beispiel #3
0
 def test_prettify_dump(self):
     book = EpubMiner('../data/1583.epub')
     book.prettify_dump()