William Randolph Hearst , a mining heir who bought the San Francisco Examiner from his father in 1887 , noticed what Pulitzer was doing . Pulitzer 's approach made an impression on William Randolph Hearst , a mining heir who acquired the San Francisco Examiner from his father in 1887 .