Thread
:
skip_ad_pages & nmassage
View Single Post
04-13-2011, 05:00 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's no reason to use index_to_soup, that's only for convenience. Use
html = self.browser.open(url).read().decode('utf-8', 'ignore')
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS