alexinchinatown 2 Posted November 10, 2013 Report Share Posted November 10, 2013 Hi, the scrape attribute feature with its element selector is very handy.But does anyone know how I can use that with sockets? Seems like when I use sockets, I can only get the html code and use regex to get data. Quote Link to post Share on other sites
Gogetta 263 Posted November 11, 2013 Report Share Posted November 11, 2013 Yes, you have to use regex to scrape in sockets. Here is a good regex code that will work in most cases while scraping with sockets. http://www.ubotstudio.com/forum/index.php?/topic/7162-using-regex-to-catch-text-between-sections/ Now If you really want to scrape using the scrape attribute command you can always use the load html along with the $sockets page html function. But since you are still using the browser it would make sockets pointless. 1 Quote Link to post Share on other sites
Edward_2 85 Posted November 12, 2013 Report Share Posted November 12, 2013 Good question/answer. Thanks guys. 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.