joket Posted June 6, 2015 Posted June 6, 2015 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
Developers Jos Posted June 6, 2015 Developers Posted June 6, 2015 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.
trancexx Posted June 6, 2015 Posted June 6, 2015 (edited) 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 June 6, 2015 by trancexx eng. ♡♡♡ . eMyvnE
joket Posted June 6, 2015 Author Posted June 6, 2015 (edited) 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 June 6, 2015 by joket
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now