You might have figured out that YouTube has a download feature which you could use to cache/download videos directly. But the problem is most of the time the option is not available and even if…