YouTube’s recommendation system can feel like magic when it works — and a total mess when it doesn’t. By understanding how it works and using the right tools, you can shape it to match your interests.