A French comedian who locked himself in a cage for more than three days has managed to raise a staggering €200,000 (A$287,570) in support of shelter pets.

Video of Rémi Gaillard’s behind-bars antics at a Villeneuve-lès-Maguelone shelter was first streamed live to his Facebook page on November 14, French-English newspaper The Connexion reports .

The 87-hour stint inside a cage has since been repackaged into a YouTube video, posted today, which has already received more than 300,000 views.

The stunt was organised in partnership with pet charity the Société Protectrice des Animaux (SPA) with the goal of either getting all 300 animals at the shelter adopted or raising €50,000 (A$71,871).

According to the video’s description, the ex-footballer turned YouTube comedian managed to not only raise €200,000 for the pound – his efforts also saw 200 resident animals adopted.

“I know what my doggy gave me and I want to give it back to all of them (the shelter pets) ‘cause I know how loyal and selfless they are,” Gaillard can be heard saying in the video.

At one point the Frenchman can be heard breaking down weeping, thanking viewers for their support.