To log into a source, all you have to do is to open the settings of the source you want to log into and enter your credentials there.
For security reasons, some sources require you to hash your password.
Click “Confirm” at the bottom of the site settings window, and you’re done! Further requests on that website will use your credentials.
For some sources, simply adding the credentials is not enough. You may have to go to the “Login” tab of the site options and input more settings there. There are two main login methods: “Through URL” and “POST”.
With the “Through URL” method, your credentials (often hashed) are passed directly in the URL of the request. This way, for every request sent, the site can check your identity. For this mode, you don’t need to fill anything in this tab.
With the “POST” method, Grabber will first login to the website just like a real user would do: it will fill a form and send the data to the site. It will then check your identity, and on success save a “session cookie” that will identify you until you close the program.
For this method, more information is required for Grabber to be able to log you in:
<input type="text" name="%value%" />)
<input type="password" name="%value%" />)
Here’s an example of an HTML form and its associated settings.
<form action='/user_admin/login' method='POST'> <table summary='Login Form' align='center'> <tr> <td width='70'>Name</td> <td width='70'><input type='text' name='user'></td></tr> <tr> <td>Password</td> <td><input type='password' name='pass'></td></tr> <tr> <td colspan='2'><input type='submit' name='gobu' value='Log In'></td> </tr> </table> </form>
To know the cookie name, you have to log into the website and check the cookies that were created.