Quote:
Originally Posted by poluk
I try based on the financial times recipes to adapt it to lloyd's List and I get this error
Could you tell me what to change in "log-in-box" with the webpage source concerning that part for login?
|
You didn't post your recipe or the login page you are trying to access, so it's a bit hard to advise you. However, from the error, it looks like your recipe probably attempts to find the login form by "name" and you have used the "id."
I don't do many login recipes, but it's been my experience that if the form is not identified by "name=" in the html, you need to use this:
Code:
br.select_form(nr=0)
or
br.select_form(nr=1)
to find the form by sequential number on the page instead of :
Code:
br.select_form(name='log-in-box')