peterclough12 0 Posted January 29, 2015 Report Share Posted January 29, 2015 After doing a search on Amazon for a keyword, I would like to visit those links and involve the socket commands to cut down on the time taken to scrape. I'm currently scraping the links from the results page into a list then navigating to the items from the list. However, doing it this way, it seems like the socket commands to switch off images etc doesn't seem to work. The images just seem to load anyway. Does anybody have any suggestions? Quote Link to post Share on other sites
Edward_2 85 Posted January 30, 2015 Report Share Posted January 30, 2015 Are you using ubots built in socket commands or a plugin? Quote Link to post Share on other sites
deliter 203 Posted February 1, 2015 Report Share Posted February 1, 2015 all you need to do is put the socket page html into a replace regular expression set(#remove images,$replace regular expression($plugin function("SocketCommands.dll", "$socket page html"),"<img src=.+?>",""),"Global") and load that variable in the load html anything that has an image will be removed from the document 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.