Page 1 of 1

Project in the thinking stage..

Posted: Sat Oct 31, 2009 6:36 pm
by oToom
Okay, so i thought i would post my project idea here. Probably get raged if you guys think it's pointless or whatever.
It's nothing destructive though. Or not as far as i class it anyways.

So, my project idea was. To make a proxy leacher, and checker.
I used to post proxy lists to my blog a while back and get around 100 hits a day.And atleast 10 downloads. These lists where big though and took a while to do. Taking alot of time off my hands. Now i don't have that time i needed to think of something to help me out. So here goes.

So.. my pseudo code would be.

{ Leacher }
grab html source from well known websites full of proxies.
grab the proxies while going through the html
place proxies into a listview gadget

{ checker }
# some of the proxies wont work so..
go through listview line by line
for each line, check the proxy
if it responds within 10-20 seconds
place in a new listview

SaveButton

Okay sorry if it's not a listview, but i can't remember as i haven't used PB in agessss..

Hope i dont really get flamed for this, if i do i guess you find this descructive too.

Re: Project in the thinking stage..

Posted: Mon Nov 02, 2009 9:59 pm
by Rook Zimbabwe
ListIconGadget()

and then TEST and delete the lines that donw't work...

Except I would use a linked list and then when respond I would clear the listicongadget and then repopulate... :mrgreen:

Re: Project in the thinking stage..

Posted: Wed Nov 04, 2009 12:10 am
by oToom
Ah yeah thats the one, :P

Thanks for that, just gotta look up some stuff then. So i know (i think) how to pull the html from a webpage.
Use a webgadget to open the url. Then use #PB_Web_HtmlCode to get the html. Use a regular expression to run through proxies.
Like, ermm :P
[\d.\d.\d.\d:\d] or something like i that i dunno regex :(.
Thats that part for now.

Also, i know this is gunna sound dodgy once again, but is purebasic able to enter html forms?