itexspert 47 Posted March 10, 2015 Report Share Posted March 10, 2015 Guys anyone has some regex code or something to get Links from Bing Search?? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted March 10, 2015 Report Share Posted March 10, 2015 Are you using the Ubot browser to get the page or HTTP Post/Sockets? Quote Link to post Share on other sites
itexspert 47 Posted March 10, 2015 Author Report Share Posted March 10, 2015 Basic browser i don't like Http Method mostly cause of Javascript which automatically generates some parts of almost every website i am working on! Quote Link to post Share on other sites
itexspert 47 Posted March 10, 2015 Author Report Share Posted March 10, 2015 So yeah i am using Basic Browser from Ubot! Quote Link to post Share on other sites
deliter 203 Posted March 19, 2015 Report Share Posted March 19, 2015 add list to list(%links,$find regular expression($eval("var myLinks = []var x =document.getElementsByClassName(\"b_algo\")for (var y = 0 ; y < x.length; y++)\{ var z = x[y].getElementsByTagName(\"a\")myLinks.push(decodeURI( z[0].attributes[0].nodeValue))\}var a = JSON.stringify(myLinks)a"),"\\\".+?\\\""),"Delete","Global") Quote Link to post Share on other sites
gavind 6 Posted March 19, 2015 Report Share Posted March 19, 2015 Thanks deliter. I'l try that on my end as well. 1 Quote Link to post Share on other sites
deliter 203 Posted March 19, 2015 Report Share Posted March 19, 2015 Thanks deliter. I'l try that on my end as well. Cool Let me know if theres any problems I just realised I could have put it all in one node so I've updated post above,just looks a lot cleaner on Node View,just go to a page and run it,be sure the DOM is ready or it won't work 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.