Jump to content
UBot Underground

Scrape Only Part Of The Row


Recommended Posts

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")
  • Like 1
Link to post
Share on other sites
  • 2 weeks later...

One more thing

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

Link to post
Share on other sites

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

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