fix id2url for dailymotion
This commit is contained in:
parent
e0287800f9
commit
8343637b4b
1 changed files with 1 additions and 4 deletions
|
|
@ -31,7 +31,4 @@ class DailymotionVideo(BaseVideo):
|
|||
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
if _id.isdigit():
|
||||
return 'http://www.dailymotion.com/video/%d' % int(_id)
|
||||
else:
|
||||
return None
|
||||
return 'http://www.dailymotion.com/video/%s' % _id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue