YoutubeIE: Move the code from _real_initialize to a base class