Jump to content
UBot Underground

Recommended Posts

Hey guys,

 

I'm running into a bit of an issue grabbing some info from the code below.

 

What I need to grab is the number highlighted in red and this number will be changing:

 

_3u1" data-bt="{"id":18941894189,

 

 

The ubot code that I have looks like this but it doesn't grab anything:

add list to list(%uids, $find regular expression($page scrape("_3u1\" data-bt=\"{"id":", ","), "[0-9]+"), "Delete", "Global")

I think I have an issue with the double quotes but I'm not sure at this point.

 

Any thoughts?

 

 

Link to post
Share on other sites

Try this

 

(?<=_3u1" data-bt="{"id" :).*?(?=,)

 

 

_3u1" data-bt="{"id":18941894189, you can also just replace with $nothing the stuff you don't want.

 

TC

 

Hi TraffikCop,

 

Thanks for your reply.  I'll be honest, I don't have a lot of experience with regex in ubot so I'm not sure how to implement this in my code.

 

Any chance you could show me?

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