optimize youtube id detection