Two friends testing out a new GoPro camera became the stars of their own video when they rushed into a burning apartment complex to free trapped pets.

In the video posted to YouTube on Saturday, the friends can be seen busting open doors and scrambling into each apartment, announcing the fire to possible unsuspecting tenants and chasing out one scared pooch in the process.

“Should we just bang on doors anyway,” one of the unidentifiable man can be heard saying in the video as they approach the building.

The fire, which resulted in a partial roof collapse, was reportedly caused by a lightning strike, the Rapid City Fire Department told a local South Dakota news channel.

“Looks like there's going to be some families displaced be this,” Firefighter Oliver White told KOTA Territory News.

While no firefighters were injured battling the flames, one person was sent to hospital for possible smoke inhalation.

On Reddit, a user who claims to be the owner of the video said despite any damage they may have caused to the units, the landlord wasn't worried about damage costs.

“They were thankful we checked on people and pets,” the user said.

One of those pets being the tiny Corgi that can be seen running out of one of the units in the video.

“I would feel bad if he got lost, but the whole top floor was billowing out smoke as we left. Corgi would have been dead.”