OK, I could see now, that it looks like the DOM is may not ready in webengine or qt? did I miss here something for the usage when it is not mechanize?
def get_browser(self):
br = BasicNewsRecipe.get_browser(self)
if self.username is not None and self.password is not None:
loginURL = 'https://www.heise.de/sso/login?forward=%2Fselect'
br.open(loginURL)
br.select_form(action='/sso/login/login/nojs')
br['username'] = self.username
br['password'] = self.password
br.submit()
return br
|