Some of the guff on here is laughable. The media has influence but it is not the determining factor, we are sentient beings with differing views & prejudices. The default of blaming the media is a failure to admit that the argument has been lost. Politicians lie, they always have & always will.
Corbyn was massively at fault, the process that elected him was not fit for purpose, his dithering on Brexit, his dishonesty in not adopting a position, the running down of Labours record in office by own party, the infighting were all factors. These factors outweighed anything the media could put forward.
I never realised I was a centrist & a Tory until the brains trust on here kept telling me so.