ibingame 1 Posted February 11, 2014 Report Share Posted February 11, 2014 Hey Guys,Need some help in scrapping facebook profile url'sThis link for instance: https://m.facebook.com/search/?refid=46&search=Search&query=9910997681 would take you to a facebook profile. Now this link does not have a class or id or any thing that I can identify at my end.I have not started Regex yet, but is there a way for me to scrap this url or click on it. Objective: Search for a particular mobile number, and store its profile link. CheersIB Quote Link to post Share on other sites
Bot-Factory 602 Posted February 11, 2014 Report Share Posted February 11, 2014 Do you have an example page? The one from where you want to scrape that link? Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted February 11, 2014 Report Share Posted February 11, 2014 Ok. I think I found what you are looking for. navigate("https://m.facebook.com/search/?refid=46&search=Search&query=9910997681", "Wait")set(#tmpurl, $scrape attribute(<href=w"/*?slog=*">, "href"), "Global")set(#myurl, "https://m.facebook.com{#tmpurl}", "Global")navigate(#myurl, "Wait") Is that what you are looking for? Dan Quote Link to post Share on other sites
Edward_2 85 Posted February 12, 2014 Report Share Posted February 12, 2014 Yup just use wildcards Quote Link to post Share on other sites
ibingame 1 Posted February 12, 2014 Author Report Share Posted February 12, 2014 (edited) Not really Dan.After: navigate("https://m.facebook.com/search/?refid=46&search=Search&query=9910997681", "Wait")I arrive on the page where I seen:A profile Picture,A Name.and an Add as friend. I would like to navigate to this users profile page. P.S. - Please use user agent as Firefox 4 Edited February 12, 2014 by ibingame 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.