allcapone1912 7 Posted December 21, 2015 Report Share Posted December 21, 2015 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 Quote Link to post Share on other sites
pash 504 Posted December 21, 2015 Report Share Posted December 21, 2015 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") Quote Link to post Share on other sites
allcapone1912 7 Posted December 21, 2015 Author Report Share Posted December 21, 2015 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") Quote Link to post Share on other sites
pash 504 Posted December 21, 2015 Report Share Posted December 21, 2015 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 Url2. Use the "regular expression" filter what you want later. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.