LOS ANGELES (AP) -- Yasiel Puig turned a slow bouncer past the Mets' diving shortstop into a one-out double in the 12th inning then scored on Adrian Gonzalez's two-base hit, lifting the Los Angeles Dodgers to a 5-4 victory over New York on Wednesday night that extended their winning streak to eight games.
Andre Ethier tied the game with a two-run homer of LaTroy Hawkins in the ninth inning.
Puig legged out a double that glanced off the glove of shortstop Omar Quintanilla and into center field after going hitless in his first five at-bats. Gonzalez hit the next pitch off Pedro Feliciano (0-1) down the left field line, maintaining the Dodgers' 7 ?-game lead over the Arizona Diamondbacks.
Paco Rodriguez (3-2) pitched 1 1-3 scoreless innings for the victory.
The Dodgers completed a three-game sweep of the Mets with their sixth walk-off win of the season.
NATIONALS 6, GIANTS 5
WASHINGTON (AP) -- Denard Span made a diving catch in deep center field with two runners on base for the final out, and Washington held off San Francisco to earn its fifth straight victory.
Jordan Zimmermann (14-6) increased his NL-leading win total, allowing one run in seven innings and outpitching Tim Lincecum (6-12). Washington matched its longest winning streak of the season and moved within one victory of .500 for the first time since July 20.
The Giants scored once in the ninth off Rafael Soriano, and put runners on first and second with two outs. Hunter Pence hit a drive to left-center, and Span ran it down near the warning track to preserve the win.
Ian Desmond homered and Anthony Rendon had two RBIs in a five-run fourth inning that put Washington up 6-1.
REDS 5, CUBS 0
CHICAGO (AP) -- Bronson Arroyo pitched seven crisp innings, Todd Frazier homered and the Reds beat the Cubs to complete a three-game series sweep.
Arroyo (11-9) allowed two hits, struck out seven and walked none in his second straight win. The crafty right-hander retired his first nine batters and faced the minimum through six innings.
The Cubs wasted a solid start by Chris Rusin (2-2) in their fourth straight loss. The left-hander allowed two runs and three hits while throwing just 76 pitches over six innings.
PIRATES 5, CARDINALS 1
ST. LOUIS (AP) -- Francisco Liriano was dominant coming off the worst outing of his career and the Pirates got home runs from Pedro Alvarez and Garrett Jones in a victory over the Cardinals.
The win snapped a season-worst four-game losing streak and gave Pittsburgh a three-game lead in the NL Central.
Liriano (13-5) allowed four hits with six strikeouts and needed just 94 pitches to beat the Cardinals for the second time this year.
Matt Carpenter doubled and scored on a groundout by Carlos Beltran in the ninth to snap Liriano's shutout bid. He settled for his second complete game of the year.
Alvarez hit his 29th homer an estimated 440 feet to straightaway center leading off the second against Miller (11-8), and with one out Jones lined his 11th over the right field wall estimated at 392 feet.
ROCKIES 4, PADRES 2
DENVER (AP) -- Jorge De La Rose pitched seven solid innings, catcher Yorvit Torrealba completed a remarkable double play by tagging out two runners and the Rockies hung on to beat the Padres.
Corey Dickerson doubled twice, tripled and drove in two runs. Troy Tulowitzki had two hits and a pair of RBIs as Colorado completed a 5-1 homestand.
De La Rosa (12-6) allowed two runs on eight hits in running his record in eight day-game starts this season to 6-0 with a 1.57 ERA. He struck out six and walked one.
Andrew Cashner (8-7) gave up three runs on six hits in seven innings. He struck out seven and walked none.
BRAVES 6, PHILLIES 3
ATLANTA (AP) -- Chris Johnson drove in three runs, Jason Heyward homered and Brandon Beachy pitched six strong innings to help the Braves beat the Phillies.
The Braves have won two straight and 17 of 19 to lead the majors with a .612 winning percentage.
Philadelphia, which has lost seven of eight series since All-Star break, has dropped 19 of 23. The Phillies have lost 13 of 14 on the road.
Rain delayed the start of the game 1 hour, 48 minutes.
Beachy (2-0) held the Phillies scoreless until Dominic Brown's 27th homer cut the lead to 5-2 with one out in the sixth.
John Lannan (3-6) lasted only 1 1-3 innings before leaving with a left knee injury.
DIAMONDBACKS 5, ORIOLES 4, 14 INNINGS
PHOENIX (AP) -- Aaron Hill had a game-ending single with one out in the 14th inning to give the Diamondbacks their third straight walk-off win over the Orioles, 5-4.
Baltimore led all three games entering the seventh.
Hill forced extra innings with an RBI single in the ninth off Jim Johnson in the Orioles closer's ninth blown save of the season and second in as many days.
Bud Norris (8-10), who started and threw five innings in San Francisco on Sunday, came on in the 14th and walked two batters ahead of Hill's single to take the loss.
Heath Bell (4-1) threw an inning to get the victory.
RANGERS 5, BREWERS 4
ARLINGTON, Texas (AP) -- Elvis Andrus broke out of a slump with two hits and two RBIs, and the Rangers rallied for three runs in the seventh inning to beat the Brewers.
The AL West-leading Rangers were 7-40 when trailing after six innings before the rally that began in the seventh. Andrus had RBI single to snap an 0-for-13 skid and Ian Kinsler a two-run single that turned a two-run deficit into a lead for Texas.
Milwaukee's Juan Francisco homered twice and drove in four runs.
Matt Garza gave up eight hits and four runs in 5 2-3 innings. But Neal Cotts, Jason Frasor (4-2), Tanner Scheppers and Joe Nathan combined to shut down the Brewers.
John Axford (5-6) was the loser.