Hi
I try based on the financial times recipes to adapt it to lloyd's List
and I get this error
Quote:
mechanize._mechanize.FormNotFoundError: no form matching name 'log-in-box'
|
Could you tell me what to change in "log-in-box" with the webpage source concerning that part for login?
Code:
"<div class="grid_4 prefix_2 controls-container">
<div class="grid_4 first last common-box last-in-row" id="log-in-box">
<h2 class="common-box-header">Please Log In</h2>
<form class="log-in" method="post" action="/ll/security_check">
<fieldset>
<label for="j_username">Username:</label>
<input class="common-field log-in-page" type="text" name="j_username" id="j_username"
value="" tabindex="1"/>
<label for="j_password">Password:</label>
<input class="common-field log-in-page" type="password" name="j_password" id="j_password" tabindex="2"/>
<input class="submit log-in-page" type="submit" value="Log In" tabindex="4"/>
<label for="_spring_security_remember_me"><input type="checkbox" id="_spring_security_remember_me" name="_spring_security_remember_me" tabindex="3"/>Remember me</label>
<a class="pwd-reminder" href="/ll/forgotten-password.htm">Forgotten your password?</a>
</fieldset>
the website I try to make a recipe is:
http://www.lloydslist.com/ll/