hello

I tried to use WWW::Mechanize to retrieve the content of a webpage,
which contains a small search engine, a search button, and the results.

The thing is I can't seem to be able to read the "results" of the search.
(note that the page got a search default, so it shows some search results even when the page is just loaded (before you can choose your search))

I'm guessing this is because the "get" function doesn't "wait" for the results to be loaded and only retrieves the initial content,
or that maybe the page uses some sub-page or I-frame (I know very little about these things), which (as far the "get" concerns) isn't part of the page's content.

Because I can't get the search results, I can't even be sure if I'm successful in launching the "search" command of the search engine after in finishes the default search.

The page in question is this one
but beware as it is not in english (so don't think there's an error if you can't see the characters correctly ^^)

What can I do to retrieve the search results ? (wasted hours trying to figure out the damn thing)
10q very much

In reply to Retriving search results with WWW::Mechanize by palkia

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.