mamica 10 Posted September 13, 2011 Report Share Posted September 13, 2011 Ok i m using simple proxy scraping and sometimes it scrapes proxies and soemtimes it doesnt. Now i dont understand why. Here is a code:clear cookies change proxy("None") set user agent("Googlebot") navigate("http://www.samair.ru/proxy/time-01.htm", "Wait") wait(10) clear list(%proxy) wait(1) add list to list(%proxy, $scrape attribute(<outerhtml=w"<td>*<script type=\"text/javascript\">document.write(\":\"+o+j)</script>*</td>">, "innertext"), "Delete", "Global") wait(1) save to file("D:\\Program Files\\UBot\\UBot\\Ubot\\proxy.txt", %proxy) set list position(%proxy, 0) wait(1) Quote Link to post Share on other sites
Eddie Waller 158 Posted September 13, 2011 Report Share Posted September 13, 2011 Ok i m using simple proxy scraping and sometimes it scrapes proxies and soemtimes it doesnt. Now i dont understand why. Here is a code:clear cookies change proxy("None") set user agent("Googlebot") navigate("http://www.samair.ru/proxy/time-01.htm", "Wait") wait(10) clear list(%proxy) wait(1) add list to list(%proxy, $scrape attribute(<outerhtml=w"<td>*<script type=\"text/javascript\">document.write(\":\"+o+j)</script>*</td>">, "innertext"), "Delete", "Global") wait(1) save to file("D:\\Program Files\\UBot\\UBot\\Ubot\\proxy.txt", %proxy) set list position(%proxy, 0) wait(1) You'll need to find a better way of scraping the proxies. When I load the page I get: <td>198.36.222.8<script type="text/javascript">document.write(":"+m+s+y+x)</script>:3128</td> This doesn't match your document.write part, which is why nothing is found. You could try replacing what's in document.write with *. Please try to keep problems like this out of the bug reports topic, as this topic is for bugs with UBot Studio. Thanks Quote Link to post Share on other sites
mamica 10 Posted September 13, 2011 Author Report Share Posted September 13, 2011 I m sorry i was thinking is bug because it worked and then stopped working. 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.