LOS ANGELES (AP) — The Dodgers keep playing the first-place Arizona Diamondbacks close, only to lose.
The Los Angeles bullpen collapsed again Wednesday night, with Brandon League giving up two hits that accounted for three runs in an 8-6 loss to Arizona.
League was demoted from the closer's role after giving up four runs over two-thirds of an inning in a 5-1 loss in the series opener on Monday.
"You've just got to keep grinding and stay as positive as possible," he said. "It stinks to know that you're not helping the team, and it's frustrating. But we have the day off tomorrow, so it's a good day to recollect and get back to basics."
Eight of the nine games between the teams this season have been decided by three runs or fewer. The Diamondbacks had 20 hits while improving to 7-2 against the last-place Dodgers, who fell 8½ games behind the NL West leaders.
Los Angeles dropped its fourth consecutive series to the D-backs while falling to 2-4 in extra innings this season. The Dodgers ended their longest homestand of the season with a 5-5 record.
"We've got to keep treading water and keep fighting," manager Don Mattingly said.
The Dodgers open a nine-game road trip in Pittsburgh on Friday, when they expect shortstop Hanley Ramirez back in the starting lineup.
"Then we start getting more pieces back and put some runs on the board consistently and hopefully put some wins together and get on a roll," Mattingly said. "We have the pitching to do it, and we have a chance to rattle off some games if we play with this attitude all the time."
There was no repeat of the brawl that occurred in the seventh inning of the Dodgers' 5-3 victory a night earlier, when six players and coaches were ejected. No batters were hit by pitches this time.
Martin Prado had two RBIs, including a run-scoring double during a four-run 12th inning for the Diamondbacks.
Prado put them ahead 5-4 with a ground-rule double to left field off Ronald Belisario (3-5), who was charged with four runs and three hits in two-thirds of an inning. He walked two and didn't retire any of the four batters he faced in the 12th.
Arizona made it 6-4 on Cliff Pennington's bases-loaded RBI single off League, the Dodgers' seventh pitcher. Gerardo Parra added a two-run single to center.
"Most of the time they're hitting my fastball," League said. "For me, it's always been that if my fastball is not right, you can't expect anything else to be right. That's kind of where I'm at right now."
Josh Collmenter (3-0) got the win with two innings of relief. He gave up one hit and struck out two.
Heath Bell gave up a leadoff home run to Ramon Hernandez in the bottom of the 12th and Yasiel Puig scored on a groundout by Mark Ellis. With two runners on, Bell retired pinch-hitter Tim Federowicz on a grounder to end it.
Arizona tied the game 4-all on Miguel Montero's RBI single in the seventh.
Diamondbacks starter Patrick Corbin had a 3-0 cushion when he gave up five consecutive hits with two outs in the fifth, allowing the Dodgers to take a 4-3 lead.
Hernandez had an RBI groundout that scored Juan Uribe, who led off with a double.
Dodgers starter Hyun-Jin Ryu tripled to deep right field — the first of his career — and Parra misplayed the ball as it skipped past his outstretched glove. That drove in Alex Castellanos, who reached on a ground-rule double and went to third on Montero's passed ball.
"Watching him in spring training, I thought it was going to be ugly," Mattingly said of Ryu's hitting. "But it's been really good. This guy's a really good athlete. Parra catches everything we hit over there, so that was the surprising thing."
The Dodgers tied the game and went ahead on RBI singles by Nick Punto and Adrian Gonzalez.
Ryu allowed a season-high 11 hits and three runs, walked two and tied his season low with two strikeouts.
Corbin gave up four runs — tying his season high — and eight hits in five innings, his shortest outing this year. The left-hander, who struck out two and walked none, is 9-0 with a 2.28 ERA.
NOTES: Dodgers C A.J. Ellis made his second rehab start for Class-A Rancho Cucamonga and was hitless in three at-bats with a strikeout. ... Puig was scratched from the starting lineup because of a strained right shoulder but entered as a defensive replacement in right field in the 12th. ... No discipline by Major League Baseball for the brawl was expected to be announced until at least Thursday, when both teams are off. ... MLB announced the Diamondbacks and Dodgers will open the 2014 season with a two-game series in Australia from March 22-23.