Ed Miliband’s life post-election has been reimagined in a Forgetting Sarah Marshall spoof trailer.

The 2008 film followed Jason Segel’s character Peter Bretter as he travelled to Hawaii to win back his girlfriend Sarah Marshall, (Kristen Bell), who he discovered was dating Aldous Snow (Russell Brand).

In the parody, titled Forgetting Ed Miliband, the former Labour leader travels to Hawaii in an attempt to win back Brand.

Mr Miliband can be seen in a tussle with David Cameron – who tells him that his friendship with Brand was a “joke” – reflecting on his loss during a beach chat with Mila Kunis and downing cocktails in a bar while asking the barman: "Who cares?"

The video was created by Australian satirist Huw Parkinson, who was behind the hilarious clip of Mr Cameron doing the ‘Spidey strut’ from Spiderman 3 to celebrate his election victory.

Comedian Brand endorsed Mr Miliband before the general election, but following the party's loss told fans that he had got “caught up in some mad The Thick of It” moment.

In a clip on his YouTube channel The Trews he said: “I think for a moment I got caught up in some mad The Thick of It, oh wow, Ed Miliband’s in my house.

“People were telling me, journalists, people who know loads about politics, look if Labour don't get in it’s going to really be bad because independent living fund will get cut, public services are going get cut more than ever, its going to get worse for very poor people, the climate of the country is going to get mean and nasty.