tahoecale 2 Posted February 22, 2015 Report Share Posted February 22, 2015 hey guys so im trying to make a proxie scraper that goes to http://proxylist.hidemyass.com/ scrapes the list of proxies and saves the IP and the port in a txt file with the format IP:PORT but i dont got the dev version so i dont got scrape table could someone point my in the right direction Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 24, 2015 Report Share Posted February 24, 2015 If nobody comes up with a good idea you can use this but honestly it probably isn't the best way to do it by a long shot. You can probably scrape the rows into a list and go from there but it will get messy either way. clear list(%proxies) clear list(%rows) add list to list(%rows, $scrape attribute(<tagname="tr">, "innertext"), "Delete", "Global") loop($list total(%rows)) { set(#row, $next list item(%rows), "Global") if($comparison($find regular expression(#row, "\\d+\\.\\d+\\.\\d+\\.\\d+"), "!=", $nothing)) { then { add item to list(%proxies, $replace regular expression($find regular expression(#row, "\\d+\\.\\d+\\.\\d+\\.\\d+\\s\\d+"), "\\s", ":"), "Delete", "Global") } else { } } } Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.