Thread
:
importing ebook and extracting content
View Single Post
10-29-2013, 10:55 AM
#
9
kovidgoyal
creator of calibre
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You dont load the html you simply open the file and read it in to get the html.
html = open(doc, 'rb').read()
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS