The statement that the entire media system missed the election is an exaggeration. One function of the NYT, the election prediction section, failed. It shouldn't reflect on the various investigative reporters doing actual digging.
"The mood in the Washington press corps is bleak, and deservedly so.
It shouldn’t come as a surprise to anyone that, with a few exceptions, we were all tacitly or explicitly #WithHer, which has led to a certain anguish in the face of Donald Trump’s victory. More than that and more importantly, we also missed the story, after having spent months mocking the people who had a better sense of what was going on.
This is all symptomatic of modern journalism’s great moral and intellectual failing: its unbearable smugness. Had Hillary Clinton won, there’s be a winking “we did it” feeling in the press, a sense that we were brave and called Trump a liar and saved the republic."
http://www.cbsnews.com/news/commentary-the-unbearable-smugne...
A staffer in the Obama White House remarked on the quality of reporting now, as of a few months ago:
"All these newspapers used to have foreign bureaus. Now they don’t. They call us to explain to them what’s happening in Moscow and Cairo. Most of the outlets are reporting on world events from Washington. The average reporter we talk to is 27 years old, and their only reporting experience consists of being around political campaigns. That’s a sea change. They literally know nothing."
https://www.washingtonpost.com/blogs/erik-wemple/wp/2016/05/...