[ard] Fix format extraction (fixes #3006 and #3032)

I've tested with the videos posted in #3006, #3032 and #3040, but I can't access the test video, I get redirected to the main page. Could someone test it from Germany?