Hey SKAN, pretty cool function, found out about it through Frankie when I had a problem searching for the first link from a google search automatically. Thing is, when searching for (just three quick examples), n00p, geekycode, or "getchar stupid" (which someone searched just to check).
Function : InternetFileRead() aka UrlDownLoadToVar()
Started by
SKAN
, Jun 25 2009 04:38 PM
161 replies to this topic
#121
-
Posted 24 August 2011 - 09:38 PM
Oh I'm sorry. I should of looked through this before, the version Frankie gave me (that specifically says modified by Frankie) didn't work. I was just told to post in here about it. But yes, that one does work .
#123
-
Posted 25 August 2011 - 03:19 PM
I should of looked through this before
It was not working before. I fixed it for (lucky) you.
#124
-
Posted 25 August 2011 - 03:59 PM
I should of looked through this before
It was not working before. I fixed it for (lucky) you.
Haha thanks . I don't want you to do it for me, but is there a way to get the page title also? For example, if you google "test" Test.com Web Based Testing and Certification Software v2.0 is the title of the page. If it is possible, what would I need to change?
#125
-
Posted 25 August 2011 - 04:16 PM
is there a way to get the page title also?
I have already answered to that a few posts above. It is not simple and may not work always.
#126
-
Posted 25 August 2011 - 04:30 PM
So tell me SKAN, what fixed it?
#127
-
Posted 25 August 2011 - 05:45 PM
@nimda
Yours:
<!-- m -->http://www.google.co...hl=en&btnI=1&q=<!-- m -->
Mine, rectified:
http://www.google.co...</span>&btnI&q=
Yours:
<!-- m -->http://www.google.co...hl=en&btnI=1&q=<!-- m -->
Mine, rectified:
http://www.google.co...</span>&btnI&q=
#128
-
Posted 25 August 2011 - 05:57 PM
Thanks
I would never have found that
I would never have found that
#129
-
Posted 25 August 2011 - 05:58 PM
Many thanks to author!
Can somebody tell me how to modify this script: i need to download only part of file, i.e. 350 very first bytes.
Thank you in advance.
Can somebody tell me how to modify this script: i need to download only part of file, i.e. 350 very first bytes.
Thank you in advance.
#130
-
Posted 09 September 2011 - 11:10 AM
I dont think thats a capability of winninet. You can of course exclude it after you get it with substr(content,1,350) but simply not downloading it all, I dont think you have that sort of control
Actually i am unaware of a way to do this with any API but I suppose such exists some where
Actually i am unaware of a way to do this with any API but I suppose such exists some where
#131
-
Posted 09 September 2011 - 12:32 PM
Stolen from SKAN
Thank you.
[off]
Posted the same question in another topic, sorry...
[/off]
[off]
Posted the same question in another topic, sorry...
[/off]
#132
-
Posted 09 September 2011 - 12:49 PM
i need to download only part of file, i.e. 350 very first bytes
Here is an example:
InternetFileRead( Data, "http://www.autohotkey.com/forum/rss.php" , 350, 350, "" ) MsgBox, 0, % StrLen(Data), % Data
#133
-
Posted 09 September 2011 - 12:49 PM
Yes, it works, but downloads whole file. It's not exact what I want. Download mus be aborted after 350 bytes to save traffic - it's critical.
#134
-
Posted 09 September 2011 - 12:57 PM
Yes, it works, but downloads whole file..
It will not.
#135
-
Posted 09 September 2011 - 01:18 PM