I tried and it just takes only the home page url and never get into the sub urls of the linkedin site. So, that i can't take all urls from linkedin but homepage. If i get access to other pages, then i'll take the data from php file_get_contents function can someone give me some suggestion or any code? Thanks Hussain
You should use official API because LinkedIn does not like web scraping (http://www.redorbit.com/news/technology/1113042750/linkedin-sues-over-data-scraping-of-user-profiles-010914/). You may also have a look at Github: https://github.com/search?nwo=jbdemonte%2Flinkedin-crawler&p=1&q=linkedin+crawler&ref=cmdform&search_target=global&type=Repositories