
junkchiu
Novice
Jul 7, 2008, 9:50 PM
Post #1 of 1
(616 views)
|
using perl to process Java script in mapquest
|
Can't Post
|
|
I am trying to automatte and get the driving distance between two addresses. I tried to write a small perl program to accomplish my task. So far, I was able to input the street addresses into mapquest.com but I had trouble getting the javascript parts (including directions, distance...etc) out of the webpage ( I can't save it so can't process them either!!). But when I opened the source code, the "directions" and "estiamted distances" those are embeded in the source. Just when I do print $response->content , I can't print those (only staic parts show up in print) Anybody knows how I can save those dynamic wage part? Thanks,
|