What is currently the best way to get from a list of urls a decently formatted epub (including figures?)

There are a few readability libraries, Calibre, pandoc... but what is the most robust way to do it?