Jump to content
UBot Underground

Scipts Stop On Add List To List


Recommended Posts

hi, have a problem with my email scraping script

 

very often the script stop at Add list to list and i dont know why

navigate("http://www.hksinc.com/","Wait")
wait(5)
add list to list(%emails,$find regular expression($document text,"(?i)\\b[!#$%&\'*+./0-9=?_`a-z\{|\}~^-]+@[.0-9a-z-]+\\.[a-z]\{2,6\}\\b"),"Delete","Local")

script just stop on add list to list and dont go further

Problem should be in webste but i dont understand how to pass it

Link to post
Share on other sites

The problem its not the regex, but your site: hksinc.com

Try to scrape other site.

And once more your code : add list to list scope is set to local

Link to post
Share on other sites

The problem its not the regex, but your site: hksinc.com

Try to scrape other site.

And once more your code : add list to list scope is set to local

by mistake ive add to local

but currently is with General and still not working

 

that's the problem, i can't skip this site because there are a lot of site like this one(were my script stop) and i have to be available to scrape them all

Link to post
Share on other sites

by mistake ive add to local

but currently is with General and still not working

 

that's the problem, i can't skip this site because there are a lot of site like this one(were my script stop) and i have to be available to scrape them all

 

Try socket mode.

Work great for me.

plugin command("SocketCommands.dll", "socket container") {
    plugin command("SocketCommands.dll", "socket set header", "User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36")
    plugin command("SocketCommands.dll", "socket navigate", "GET", "http://www.hksinc.com/")
    add list to list(%scket,$find regular expression($plugin function("SocketCommands.dll", "$socket page html"),"themes"),"Don\'t Delete","Global")
}
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...