Jump to content
UBot Underground

Recommended Posts

hi,

need some help with my code

 

i want to make a simple operation, 

 

add list to list(%all url,$scrape attribute(<href=r"{'#clean main url}">,"fullhref"),"Delete","Global")

 

and its work in Code View, but after i set Node view code is changed automatic to

 

add list to list(%all url,$scrape attribute(<href=r#clean main url>,"fullhref"),"Delete","Global")

 

and its doesnt work

 

 

Link to post
Share on other sites

navigate("http://www.ubotstudio.com/resources","Wait")
wait for browser event("Everything Loaded","")
wait(1)
set(#clean main url,"http://www.ubotstudio.com/forum/","Global")
add list to list(%all url,$scrape attribute(<href=#clean main url>,"fullhref"),"Delete","Global")
Link to post
Share on other sites
navigate("http://www.ubotstudio.com/resources","Wait")
wait for browser event("Everything Loaded","")
wait(1)
set(#clean main url,"http://www.ubotstudio.com/forum/","Global")
add list to list(%all url,$scrape attribute(<href=#clean main url>,"fullhref"),"Delete","Global")

problem is that i dont need general

<href=#clean main url>

i need regular expression 

<href=r#clean main url>

with your example i need something like this:

navigate("http://www.ubotstudio.com/resources","Wait")
wait for browser event("Everything Loaded","")
wait(1)
set(#clean main url,"ubotstudio.com","Global")
add list to list(%all url,$scrape attribute(<href=r#clean main url>,"fullhref"),"Delete","Global")
Link to post
Share on other sites

 

problem is that i dont need general

<href=#clean main url>

i need regular expression 

<href=r#clean main url>

with your example i need something like this:

navigate("http://www.ubotstudio.com/resources","Wait")
wait for browser event("Everything Loaded","")
wait(1)
set(#clean main url,"ubotstudio.com","Global")
add list to list(%all url,$scrape attribute(<href=r#clean main url>,"fullhref"),"Delete","Global")

You do not want to tell the "regular expression" at first.

But what you are doing now, it's very tricky.

I suggest you do the simple things.

1. Scrape all Url

2. Use the "regular expression" filter what you want later.

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