getting all mainlinks for parsing