View Single Post
Old 01-09-2014, 09:56 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,590
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, it has always been present. I didn't bother to remove the next page sections, you should do that via postprocess_html, something like this

def postprocess_html(self, soup, first_fetch):
for div in soup.findAll(id='next_page_whatever'):
div.extract()
return soup
kovidgoyal is online now   Reply With Quote