For $i = $Start To $Finish $url = "<a href='http://DOMAIN.com/Pageid=' class='bbc_url' title='External link' rel='nofollow external'>http://DOMAIN.com/Pageid="</a> & $i $source = _INetGetSource($url) FileWrite("FILE.txt", $i & @CRLF) FileWrite("FILE.txt", $source & @CRLF)
However, Now I want to make this into a tool that instead of just pulling the page source entirely, I want it to save ONLY the URL if a certain line of text is in the source of the page.
How it is setup now, It just dumps the entire source of each page into a single textfile so I can just use notepads find function to find the pieces of text I want.
I suppose it could be considered a type of crawler. But instead of just one thing being searched for...I would like it to search for say. Several phrases or lines. And only if that line of text exists in the sourcefile, I would like it to write the page ID number ($i) To the list.
So...Can anybody help me with building something like this?.. It would help me out a lot.
Sorry for the complicated explanation. but, I consider this complicated ><