María Alejandra Arango-González

Results 1 comments of María Alejandra Arango-González

I have tried: ``` for item in book.get_items(): soup = BeautifulSoup(item.get_content(), 'html.parser') removetext = soup.find_all("section", {"id": "remove"}) if len(removetext) > 0 : book.items.remove(book.get_item_with_id(item.get_id())) book.items.remove(book.get_item_with_id('nav')) book.add_item(epub.EpubNav()) book.add_item(epub.EpubNcx()) epub.write_epub('test.epub', book, {}) ```...