Jump to content
UBot Underground

Sockets With Links From A Page


Recommended Posts

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?

Link to post
Share on other sites

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...