From 6f089c795e4aa7ff02cd005a02aefba414a777c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 24 Mar 2013 01:29:34 +0100 Subject: [PATCH] gdcvault: Do not set a default extension Due to the redirecting pages we cannot be sure of the extension, so better not lie. --- modules/gdcvault/video.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gdcvault/video.py b/modules/gdcvault/video.py index eaa0394a..53fe0efd 100644 --- a/modules/gdcvault/video.py +++ b/modules/gdcvault/video.py @@ -31,7 +31,8 @@ __all__ = ['GDCVaultVideo'] class GDCVaultVideo(BaseVideo): def __init__(self, *args, **kwargs): BaseVideo.__init__(self, *args, **kwargs) - self.ext = u'flv' + # not always flv... + self.ext = NotAvailable @classmethod def id2url(cls, _id):