When a site requires a subscription, how to confirm whether login was successful or not. Currently, calibre returns nothing no matter what I put the correct user profile or just anything.
I overwrite get_Browser as follows:
Code:
def get_browser(self):
br = BasicNewsRecipe.get_browser()
if self.username is not None and self.password is not None:
br.open('login site')
br.select_form(name = 'mainLoginForm')
br['username'] = self.username
br['password'] = self.password
br.submit()
return br