Jump to content
Sign in to follow this  
kiko298

Help with inet code

Recommended Posts

kiko298

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

Share this post


Link to post
Share on other sites
bogQ

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 connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

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  

×