SweTech 4 Posted February 7, 2016 Report Share Posted February 7, 2016 Hey guys!Just started up Ubot for the first time in years and can barely remember the most simple things Playing around a bit and what I am trying to do is to scrape all the urls on this page http://skl.se/tjanster/kommunerlandsting/adressuppgifterkommuner.1246.htmlwhere the link text ends with "Kommun". If anyone could point me in the right direction, I would appreciate it Thanks in advance Quote Link to post Share on other sites
Bill 7 Posted February 7, 2016 Report Share Posted February 7, 2016 add list to list(%list,$find regular expression($scrape attribute(<class="normal">,"innerhtml"),"http\\:\\/\\/.*?(?=\\/)"),"Delete","Global") Quote Link to post Share on other sites
pash 504 Posted February 8, 2016 Report Share Posted February 8, 2016 clear list(%List) add list to list(%List,$scrape attribute(<innertext=r".*kommun$">,"fullhref"),"Delete","Global") 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.