I'd prefer to use a dictionary `IE_dict` in the form `{'YoutubeIE': <Youtube IE class}`, it's easy to implement and would simplify this line.