I am trying to log in to a site and get a page for some parsing, but I can't seem to mimic everything they are doing in the login (so it doesn't work).
I've had the same problem a few times, and the easiest to use tool I found to track down the data exchanged is lynx - the text-only browser. You can put it in trace-mode and examine all traffic to and from the server. This will probably give you some insight in what's going on (i.e: get/post data, cookies, redirects etc.)
See also:
http://lynx.browser.org/
man lynx
--
Joost downtime n. The period during which a system
is error-free and immune from user input.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|