search works again

This commit is contained in:
Romain Bignon 2012-06-08 13:56:13 +02:00
commit fbdf44e27a
4 changed files with 23 additions and 18 deletions

View file

@ -27,8 +27,8 @@ __all__ = ['NolifeTVVideo']
class NolifeTVVideo(BaseVideo):
def __init__(self, *args, **kwargs):
BaseVideo.__init__(self, *args, **kwargs)
self.ext = 'mp4'
self.ext = u'mp4'
@classmethod
def id2url(cls, _id):
return 'http://online.nolife-tv.com/index.php?id=%s' % _id
return 'http://online.nolife-tv.com/emission-%s/' % _id