A gunman shot a man in broad daylight at the busy corner of Market Street and Golden Gate Avenue Thursday morning, scattering frightened pedestrians. Now police are searching for the shooter, authorities said.

The shooting — the second at nearly the same location in less than three months — occurred shortly after 10 a.m. in front of the Dosa Allee restaurant in a long-derelict block that will soon be home to hundreds of new residents in luxury housing now under construction.

San Francisco police Officer Joseph Tomlinson said a man sustained non-life-threatening injuries and was taken by ambulance to the hospital. The shooter is still at large, and it is unclear how many assailants were involved, Tomlinson said.

Manuel Mendoza, 49, who works at Taqueria Can-Cun on Market Street, said he heard two shots, thought it was firecrackers, and ran outside to see what was happening.

He said he saw a man in a hoodie fire two or three shots that struck a man who appeared to be in his 30s. The victim fell to the sidewalk, Mendoza said, and was taken away by ambulance.

The gunman ran south on Market Street toward Seventh Street, Mendoza said.

“It just happened really fast,” he added.

Officers searched the Powell Street BART Station and nearby streets, including Taylor Street, witnesses said.

Workers in the area said they were shocked by the mid-morning shooting.

But it wasn’t the first time. On Aug. 21, someone fired four rounds in almost the same spot, between Taylor and Jones, during a fight at about 5:30 p.m., as hundreds of people began their evening commute. In that case, no one was shot, but one person was hospitalized with other non-life-threatening injuries, police said.

“It’s scary. It’s just happening at any time, Mendoza said. “There’s not a safe time any more.”

Asjha Vining, 23, arrived at work shortly after the shooting and saw the unconscious victim on a stretcher. She works across the street, at Popsons Burgers at Sixth and Market streets.

“This is unacceptable,” Vining said. “It’s sad because there’s a lot of businesses around here.”

She said she worried that local businesses will suffer because of violent crime.

“It’s getting pretty ugly,” she said.

San Francisco Chronicle staff writer Michael Cabanatuan contributed to this report.

Anna Bauman is a San Francisco Chronicle staff writer. Email: anna.bauman@sfchronicle.com. Twitter: @abauman2