LOS ANGELES — Los Angeles Dodgers beat St. Louis Cardinals 3-1 in NL-wild-card game to advance to face San Francisco Giants.