Project in the thinking stage..

Everything else that doesn't fall into one of the other PB categories.
oToom
User
User
Posts: 54
Joined: Sat May 03, 2008 5:38 pm

Project in the thinking stage..

Post 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.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Project in the thinking stage..

Post 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:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
oToom
User
User
Posts: 54
Joined: Sat May 03, 2008 5:38 pm

Re: Project in the thinking stage..

Post 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?
Post Reply