refactored "Ydl::Videos.prepare_metadata"