Jump to content
Sign in to follow this  
nick1812

InetGet saves empty file

Recommended Posts

nick1812

Hi,

I've seen this problem in these forums before, but unfortunately no answers...

I want to save a webpage from www.weather.com with InetGet()

It used to work great, but since they changed the layout recently, InetGet saves a file with just a bunch of empty lines.

Probably some fancy script on that page, but is there a way to save that page anyway??

Cheers, Arjan

Share this post


Link to post
Share on other sites
nick1812

That page uses a ridiculous amount of Javascript, but this code still works without a problem.

InetGet("http://www.weather.com/", "Test.html", 1)

I'm using the url as shown in the addressbar after entering a location.

So, the script I have been using so far showed the local weather info.

Tonight I've been trying to write a script that simply opens the url with mshta.exe

and then scans the temporary internet files for the right info.

But after testing a while I'm only getting blank screens.

I'll continue with it tomorrow unless there is an easier solution...

Edited by nick1812

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×