kiko298 Posted November 7, 2012 Share Posted November 7, 2012 I am trying to download an image from that website. I've tried with out the "InetClose($4)" but the files get corrupted so i add it. But since i add it, it says this ""ERROR: InetClose(): undefined function. Can someone help me? #include $4 = InetGet("http://euw.leagueoflegends.com/news/champion-rotation?rid=sidebar/anivia.jpg",@DesktopDir &"/anivia.jpg") InetClose($4) Exit Link to comment Share on other sites More sharing options...
bogQ Posted November 7, 2012 Share Posted November 7, 2012 that's not img url. Its page url when you have "?something=" in url, its function is to pass data (in your case "sidebar/anivia.jpg") inside variable (named "rid" in your case) on currently displayed page. That's usually standard method to transfer some small data from one page to another. So view page source and select correct picture url from it. TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
kiko298 Posted November 7, 2012 Author Share Posted November 7, 2012 Thanks Link to comment Share on other sites More sharing options...
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