HTTPRequest with graphs

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
shamigc
Junior Coder
Posts: 37
Joined: Wed Oct 22, 2003 11:38 am
Location: Monterrey, Mexico

HTTPRequest with graphs

Post by shamigc » Fri Feb 18, 2011 3:29 pm

Hi,

I want to save a web page result, I tried your HTTPRequest command, but the resulting file doesn’t include bar graphs as the regular page shows, How can I fix this? This is my code:

HTTPRequest>http://179.99.31.240/mp/index.php,d:Out ... MLResponse
Thanks,
Salvador Hernandez

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Fri Feb 18, 2011 4:45 pm

but the resulting file doesn’t include bar graphs
Are you opening the resulting file in a browser? Maybe there is javascript code which needs to execute in the browser - and just looking at the file in a text editor is not showing what you expect.

I would need to be able to hit your URL to debug further.... if the process is internal to your firewall I can't see it.

User avatar
Marcus Tettmar
Site Admin
Posts: 7391
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Feb 18, 2011 4:57 pm

There are probably graphics too. Your code is only downloading the HTML. It won't download any images or other files that html refers to. You could parse the HTML locate the URIs of the images and download those with HTTPRequest also.

But perhaps this would just be easier to do by opening the URL in a browser and then automating the browser to save the page to a file.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts