Jump to content
UBot Underground

List Cleaning?


Recommended Posts

I'm trying to clean up a scraped list with the replace command, but I can't seem to get it to work.  I've tried a few different ways, but nothing works.  Does replace only work when trying to change a page's attributes or something?  I notice that that seems to be the only way to access the replace stuff.  Is there an easier way to change aspects of items inside of a list?

Link to post
Share on other sites

Honestly, my script has become so mixed up at this point from all the failed attempts I've tried.  I'll have to start from scratch once I get this figured out, lol.  But yea, that's what I'm trying to do.  Tried your library, but I must be doing something wrong because nothing gets replaced.  In my attached image nothing but the original #test content gets saved.

 

 

Link to post
Share on other sites

Thanks Jim.  That's actually what I've been trying, but no luck so far.  The loop in the image below returns the same result over and over, or if delete duplicate is checked just 1 result, obviously.  I've tried passing the clean item to a variable first and then adding that to a list as well, but that gives me the same result.  Not sure where I'm going wrong here.

Link to post
Share on other sites
  • 2 months later...

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...