Jump to content

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 :)

 

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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.

♡♡♡

.

eMyvnE

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...