Jump to content
UBot Underground

Modify A List Without Having To Use Add List To List


Recommended Posts

Hi,

 

I had to apply a regular expression to modify my list and the only way I found to do this is to create a temp list that will contain my initial information and then use an add list to list to apply the regex.

add list to list(%column212,$plugin function("HeopasCustom.dll", "$Heopas Xpath Parser", $plugin function("HeopasCustom.dll", "$Heopas Text Encode/Decode", "HTML Decode", %followers), "//div[@class=\'_st _ss _sw _sk _5j _sm _sq _no _np _nq _nr\']", "InnerText", ""),"Don\'t Delete","Global")
add list to list(%column2,$find regular expression(%column212,"\\d+(\\.)?(\\d+)?k?(?=\\s*followers)"),"Don\'t Delete","Global")

Is there a better way to to modify a list without having to create others?

 

Thank you

Link to post
Share on other sites

You should be able to nest the functions even more, like this:

add list to list(%column2,$find regular expression($plugin function("HeopasCustom.dll", "$Heopas Xpath Parser", $plugin function("HeopasCustom.dll", "$Heopas Text Encode/Decode", "HTML Decode", %followers), "//div[@class=\'_st _ss _sw _sk _5j _sm _sq _no _np _nq _nr\']", "InnerText", ""),"\\d+(\\.)?(\\d+)?k?(?=\\s*followers)"),"Don\'t Delete","Global")
  • Like 1
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...