Iqra 1 Posted December 20, 2016 Report Share Posted December 20, 2016 Hey guys, I noticed ubot doesnt have the option too give an address when creating accounts, so I looked too fakenamegenerator, but when Im scrapping the attribute This is what I get "<div class="adr"> 3966 Old House Drive<br>Richmondale, OH 45673 </div>" I want too scrape everything before <br> Is there any way? Sorry for the trouble, I also want to scrape Richmondale alone, and OH alone and also 45673 haha Can anyone give me some advice? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted December 20, 2016 Report Share Posted December 20, 2016 I ended up creating something in php and placing on my server to bring back a json request of all elements on the page to make it easier. 1 Quote Link to post Share on other sites
stanf 43 Posted December 20, 2016 Report Share Posted December 20, 2016 there are more clever ways to do this, but since the placement of the data will never change this is quick and easy---------------------------------------------------------------------------------------clear all datanavigate("http://www.fakenamegenerator.com/","Wait")set(#raw data,$scrape attribute(<class="content">,"innertext"),"Global")add list to list(%break out data,$list from text(#raw data,$new line),"Delete","Global")set(#raw data,"","Global") 1 Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted December 20, 2016 Report Share Posted December 20, 2016 How I do ithttp://screencast.com/t/agiaNKr6 1 Quote Link to post Share on other sites
Iqra 1 Posted December 21, 2016 Author Report Share Posted December 21, 2016 Wow! Thanks for the replies it worked, I hope everyone can benefit from this 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.