myubo 2 Posted February 14, 2018 Report Share Posted February 14, 2018 (edited) Noob coder here guys cant figure out how to make this work. I am scraping FB Group URLs to a list, I can than do a click random list item and it work fine. BUT if I try to do navigate random list item instead of click random list item it does not work. URL at the top of the bot for example just looks like something like this: group/88475795 instead of facebook.com/group/88475795 if I try navigate random list item. How can I add facebook.com/ to the last bit that I scrapped which is /group/88475795 and get navigate to work? THIS WORKS:add list to list(%grouplinks,$scrape attribute(<href=w"/groups/*">,"href"),"Delete","Global")click(<href=$random list item(%grouplinks)>,"Left Click","No") THIS DOESN'T:add list to list(%grouplinks,$scrape attribute(<href=w"/groups/*">,"href"),"Delete","Global")navigate($random list item(%grouplinks),"Wait") Edited February 14, 2018 by myubo Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted February 14, 2018 Report Share Posted February 14, 2018 check your list if its not a full url on teh list then fill in the blank. From looks of what its scraping its not grabbing the full url as only part of the url shows for the site add the http://facebook.combefore the random url assuming its for facebook Quote Link to post Share on other sites
myubo 2 Posted February 15, 2018 Author Report Share Posted February 15, 2018 I know its not grabbing full URL, thats what I'm trying to figure out. I don't know how to add http://facebook.com to the beginning of the url. Because when I'm scrapping facebook page for groups it doesn't have a full URL just partial. So how do I tell uBot to add http://facebook.com the the beginning of each scrapped group? Quote Link to post Share on other sites
pash 504 Posted February 15, 2018 Report Share Posted February 15, 2018 use "fullhref" Instead of "href" 2 Quote Link to post Share on other sites
myubo 2 Posted February 15, 2018 Author Report Share Posted February 15, 2018 use "fullhref" Instead of "href" Wow so simple and yet I would have never figure that out without asking. Thanks so much Pash 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.