Jump to content
Sign in to follow this  
joket

inetget() question

Recommended Posts

Hi,

Does it send to a webserver any information about itself. I mean does it inform that it's autoit script downloading a website? If answer is 'yes' then is it possible to download the website but pretend it's a firefox download?

I've got this question because i noticed that a website i visit often is recently different in Firefox from what i download with inetget() It never happened befor and I wonder if a webmaster changed the code to send different content when using inetget() :)

 

Thank you :)

 

Share this post


Link to post
Share on other sites

InetGet() will get the original download information from the website and won't, unlike FireFox or any other browser, process the information received.

Look at the FF or IE UDF's for a different approach in getting the information downloaded.

Jos

Share this post


Link to post
Share on other sites

Hi,

Does it send to a webserver any information about itself. I mean does it inform that it's autoit script downloading a website? If answer is 'yes' then is it possible to download the website but pretend it's a firefox download?

I've got this question because i noticed that a website i visit often is recently different in Firefox from what i download with inetget() It never happened befor and I wonder if a webmaster changed the code to send different content when using inetget() :)

 

Thank you :)

 

​Yes it does. InetGet() by default advertises it self as AutoIt function.
To change that, all you need to do is change user agent string. You have another built-in function for that.

Edited by trancexx
eng.

Share this post


Link to post
Share on other sites

​Yes it does. InetGet() by default advertises it self as AutoIt function.To change that, all you need to do is change user agent string. You have another built-in function for that.

Got it thx.

 

 

Edited by joket

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  

×
×
  • Create New...