A predatory paedophile who targeted vulnerable children has been jailed for 17 years.