View Single Post
Old 11-09-2010, 12:30 AM   #6
marbs
Zealot
marbs began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
good morning!

this is the answer:

Code:
    def preprocess_html(self, soup):
           self.log('\t checking for subscriber only content')
           denied = soup.findAll(True,text='Subscribers')
           if denied:
                self.log('\t skipped, because content can only be seen with subscription')
                print somthing
           return soup
copy this to the code and this should work.
marbs is offline   Reply With Quote