new video attribute 'ext'
This commit is contained in:
parent
10e5c1386c
commit
17754719ef
5 changed files with 66 additions and 49 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue