extract book struct from book of txt,epub,html format