Let me help you out. During the primary, the media loved Trump. He hurt all other GOP candidates, he was entertaining, ratings were good. It accomplished all the media's objectives.
Then, shockingly, he won. Now the general election starts. The media behavior toward Trump changes 100%. They go very, very negative. 91% of their Trump stories were negative. Trump did not change a thing. The media changed. Why? They wanted Trump to win the primary knowing he had no chance in the general. They got ratings and great entertainment. But, they desperately wanted Hillary to win the general election and it all changed. Trump didn't change, the media did.