SAN FRANCISCO (AP) — Francisco Liriano struck out a season-high 11 in seven innings to win consecutive starts for the first time this season and the Pittsburgh Pirates beat the San Francisco Giants 3-1 on Tuesday night. Josh Harrison hit a leadoff home run in the first inning and Travis Snider added a two-run shot in the second for the Pirates, who moved within one game of first-place Milwaukee in the NL Central. A former minor league prospect for the Giants, Liriano (3-7) gave up a home run to Mike Morse but was otherwise stellar while leading the surging Pirates to their eighth win in 11 games. Harrison hit a 3-2 pitch from Giants starter Tim Hudson off the facing off the brick wall in right field for his first career leadoff home run.