I only want to use a specific "< d i v>" of the htmls to create epub, say, all the other part is useless.
Because each of the htmls is about 20k, and there are a lot of junk informations, scripts, ads, ...
All I need the "main-content" div:
<html> .... <div id="main-content"> .... .... .... </div> ... </html>
I know its xpath is :
How to use it in calibre or ebook-convert?