new video attribute 'ext'

This commit is contained in:
Romain Bignon 2011-03-25 09:55:30 +01:00
commit 17754719ef
5 changed files with 66 additions and 49 deletions

View file

@ -26,6 +26,7 @@ class YoupornVideo(BaseVideo):
def __init__(self, *args, **kwargs):
BaseVideo.__init__(self, *args, **kwargs)
self.nsfw = True
self.ext = 'flv'
@classmethod
def id2url(cls, _id):