maxikaz 0 Posted June 8, 2015 Report Share Posted June 8, 2015 Hi I would like scrape table from this page http://odmiana.net/odmiana-przez-przypadki-imienia-Marcin using command scrape table but it doesn't work for me.I would like scrape only part of this rowMarcinMarcinaMarcinowiMarcinaz Marcinemo MarcinieMarcinie!I'll be grateful for your help Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 8, 2015 Report Share Posted June 8, 2015 It's not working because it's not a table. But here is how you can get them into a list: set(#var,$scrape attribute(<id="odmiana-imienia">,"innertext"),"Global") clear list(%list) add list to list(%list,$find regular expression(#var,"(?<=\\:\\s).*"),"Delete","Global") 1 Quote Link to post Share on other sites
maxikaz 0 Posted June 9, 2015 Author Report Share Posted June 9, 2015 Thank you HelloInsomnia it is working Regex is not easy for me Quote Link to post Share on other sites
maxikaz 0 Posted June 17, 2015 Author Report Share Posted June 17, 2015 One more thingI would like scrape text each line as a new column but sometimes there is one table navigate("http://www.krn.org.pl/1197/Znajd%C5%BA+notariusza","Wait") wait for browser event("Everything Loaded","") type text(<name="plgRnNotariuszSzukaj_Nazwisko">," Sikorska","Standard") change attribute(<id="plgNotariuszSzukaj_IzbaSelect">,"value",6) click(<name="plgRnNotariuszSzukaj_button1">,"Left Click","No") and sometimes are two tables with one more line navigate("http://www.krn.org.pl/1197/Znajd%C5%BA+notariusza","Wait") wait for browser event("Everything Loaded","") type text(<name="plgRnNotariuszSzukaj_Nazwisko">," Sikorska","Standard") change attribute(<id="plgNotariuszSzukaj_IzbaSelect">,"value",6) click(<name="plgRnNotariuszSzukaj_button1">,"Left Click","No") How to scrap this text to get table as this one https://docs.google.com/spreadsheets/d/1haQh8FhTpHbw2rqZSveu-DTTrBzOWdiW6g7-qdMkDoo/edit?usp=sharing Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 18, 2015 Report Share Posted June 18, 2015 Those both look the same to me, shoot me another PM when you get the other code and I'll take a look. Quote Link to post Share on other sites
maxikaz 0 Posted June 19, 2015 Author Report Share Posted June 19, 2015 Sorry for my mistake, now it shows two cases I would like scrape text each line as a new column but sometimes there is one table navigate("http://www.krn.org.pl/1197/Znajd%C5%BA+notariusza","Wait") wait for browser event("Everything Loaded","") type text(<name="plgRnNotariuszSzukaj_Nazwisko">," Sikorska","Standard") change attribute(<id="plgNotariuszSzukaj_IzbaSelect">,"value",6) click(<name="plgRnNotariuszSzukaj_button1">,"Left Click","No") and sometimes are two tables with one extra line navigate("http://www.krn.org.pl/1197/Znajd%C5%BA+notariusza","Wait") wait for browser event("Everything Loaded","") type text(<name="plgRnNotariuszSzukaj_Nazwisko">,"Flaga","Standard") change attribute(<id="plgNotariuszSzukaj_IzbaSelect">,"value",6) click(<name="plgRnNotariuszSzukaj_button1">,"Left Click","No") How to scrap this text to get table as this one https://docs.google.com/spreadsheets/d/1haQh8FhTpHbw2rqZSveu-DTTrBzOWdiW6g7-qdMkDoo/edit?usp=sharing 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.