Quote:
Originally Posted by TonytheBookworm
Wow!!!! This is confusing to say the least...
|
You are complicating things. This site has printable pages so just add this to your recipe:
Code:
keep_only_tags = [dict(name='div',attrs={'class':'content'})]
def print_version(self, url):
return url + '/printable'