I’d talk to a diesel mechanic before buying. They can tell you the little quirks of each year and make, which ones are consistently having problems, etc.
Kathy