Hi,
I think I have a basic handle on how to use
LWP::UserAgent and LWP::Simple; I hope
that I can figure out how to use SWF::Parse.
The problem I'm facing at the moment is that
the SWF information that I'm trying to get at is
"hidden" inside some magic JS incantation rather
than an <embed> or plain <href>.
<script language="JavaScript" type="text/javascript">
if(version==6){
drawFlashVersioned("770","525","base6.swf","base","storeFront=NZ&ses
+sionId=z3k4-p0wnjLK4wIhd7n-Cw1&","6,0,0,0");
} else {
drawFlashVersioned("770","525","base6.swf","base","storeFront=NZ&ses
+sionId=z3k4-p0wnjLK4wIhd7n-Cw1&","7,0,0,0");
}
//-->
</script>
Any ideas how I might get to the SWF for processing?
The actual URL is
http://flightbookings.airnewzealand.co.nz/vgrabview/
and I'd like to write a script that alerts me when
something interesting comes up :}
Cheers,
Tink
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.