Remove unused code when download from youtube.