Actually an important point here about the role of the media.
I remember going to a political seminar after the 2010 election where a political communication academic predicted that in the UK, the 2015 election would be the last time the print and news media would really be decisive. He argued that by 2020, people would access most of the information they got on an election and candidates by social media, blogs and internet news sources ie they would not just depend on the Daily Mail and the Sun.
Now one of the theories of why Remain lost this election that has been put forward from inside the Remain-Cameron camp, is that Cameron was taken aback by the fact that the right wing tabloids were arguing against him, whereas in the past he'd been assured of their support and constant attacks on Labour, in fact he had harnessed them in the past with the narrative that Labour had been the party of mass migration and a strong Conservative government would bring immigration down from the hundreds of thousands to the tens of thousands. But in the referendum, he was under attack for increasing net migration and was trying to take the line that restricting EU migration would "crash the economy" under fire from the right wing tabloids. The whole "the media was for leave" argument has been put forwards as a decisive point in the referendum.
But I am not so sure it is and I think the power of the traditional media (including tabloids) in terms of influencing elections is eroding. This will have a significant effect when politicians realise their influence is weakening and are less likely to be in the pocket of the press barons.
Whatever you think of Trump, the US media was stacked against him, Clinton had more donors and a much more professionalised campaign. Trump had to largely self-fund and he was also being attacked by a lot of Republicans as well.
I guess Trump is a natural media performer, he knew how to get publicity and also he had the authenticity that he didn't try to be something he was not. I expect a lot of Trump voters had the same view of him that Clinton voters did - he's a narcissist, he's a bully, racist, misogynist etc. They just didn't care, they thought "this guy looks like a real jerk, like me lol, he will be more fun than sanctimonious Hilary".