Gary A. Vasquez-USA TODAY Sports

Mookie Betts and Trea Turner hit back-to-back home runs, and Julio Urias went six scoreless innings as the Los Angeles Dodgers earned a 4-2 victory Saturday over the visiting San Francisco Giants to match a season-best seven-game winning streak.

Betts' home run was the 200th of his career as Los Angeles won for the 14th time in its last 15 games and for the 18th time in its last 20. Freddie Freeman also hit a home run as the Dodgers improved to 26-7 since they lost all three games of a series at San Francisco in June.

Austin Slater had two hits and a walk but struck out to end the game with the tying run on base in the ninth inning. Left-hander Alex Wood, a former member of the Dodgers' rotation, fell to 0-4 against Los Angeles in five starts since he left the club and joined the Giants.

Wood kept the Dodgers in check the first time through the order but was roughed up immediately when the lineup turned over. Betts hit a two-out home run just over the left-field wall in the third inning and Turner followed with a blast to center field.

It was the team-leading 22nd home run of the season for Betts, while Turner went deep for the 15th time.

Urias (9-6) gave up just two hits, with two walks and five strikeouts. He has allowed just one run in 13 combined innings over his last two outings.

Wood (6-8) gave up two runs on four hits over four innings, with two walks and six strikeouts.

The Dodgers added another two-out run in the sixth inning when Gavin Lux's triple scored Cody Bellinger for a 3-0 advantage. Freeman's home run came in the seventh inning, his 15th of the season and fifth in his last nine games.

The Giants spoiled the shutout with two outs in the ninth inning on RBI singles from Luis Gonzalez and Joey Bart. Dodgers left-hander David Price struck out Slater for his first save of the season and the second of his 14-year career.

Giants third baseman Evan Longoria left the game in the fourth inning with a strained right hamstring.

More must-reads:

TODAY'S BEST
Bronny James receives medical clearance, expected to remain in draft
Nuggets teach Timberwolves it's never easy to knock out the champion
Panthers come from behind to take Game 4 vs. Bruins
Hawks win 2024 NBA Draft Lottery
Watch: Padres star passes father on all-time home runs list
Terrion Arnold honors his mother in a unique way
Brad Keselowski breaks 110-race winless streak at Darlington
Watch: Manchester United ties record, highlighting club's ineptitude
Celtics' Jrue Holiday praises overlooked aspect of Jayson Tatum's game
Arturs Silovs' 42 saves lead Canucks past Oilers in Game 3
Braves star leaves game early due to left side soreness
Pacers blow out Knicks on Mother’s Day, even series at 2-2
Hawks GM 'shocked' that his team won the NBA Draft Lottery
Prolific former Brewers, A's slugger announces retirement
Saints to sign veteran offensive lineman
Smother's Day: Pacers shut down Knicks in first half of Game 4
Flyers goaltender suspended from international play for three years
Pistons make wrong kind of history at NBA Draft Lottery
Watch: Pacers C Myles Turner makes absurd three-pointer in first quarter vs. Knicks
Giants place key outfielder on injured list