Hi there

Don't kill me if this is stupid. I'm a beginner... I find struggling the fact that when I copypaste the following url to the browser, I get a fantastic page of results with details on prices.

http://www.booking.com/searchresults.html?src=index&error_url=http%3A%2F%2Fwww.booking.com%2Findex.en.html%3Fsid%3D6c8cbc31dd4bdb6a976db86f3442c32b%3B&sid=6c8cbc31dd4bdb6a976db86f3442c32b&si=ai%2Cco%2Cci%2Cre%2Cdi&ss=Andalucia%2C+Spain&checkin_monthday=1&checkin_year_month=2011-7&checkout_monthday=7&checkout_year_month=2011-7&group_adults=1&group_children=0&clear_group=1

HOWEVER, when I do

$agent->get($url);

The $agent->{content} is not complete, is missing the prices... Is that javascript? Why get doesn't "get" it if it's HTML at the end?

Cheers!


In reply to Parsing HTTP... by insectopalo

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.