Thread
:
importing ebook and extracting content
View Single Post
10-29-2013, 11:55 AM
#
9
kovidgoyal
creator of calibre
Posts: 45,723
Karma: 28549306
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