move links into a private method on MediaParser