improved link grabber