Commit 8eda53a9 authored by Romain Bignon's avatar Romain Bignon

fix id2url for dailymotion

parent 6eba07a1
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment