better handle IDs in video backends, enhance user interaction

This commit is contained in:
Christophe Benz 2010-05-20 01:34:41 +02:00
commit 2b93eec3c9
16 changed files with 228 additions and 214 deletions

View file

@ -64,7 +64,7 @@ class IndexPage(PornPage):
rating = float(p.text.strip())
rating_max = float(p.find('span').text.strip()[2:])
yield YoupornVideo(int(_id),
yield YoupornVideo('youporn:%d' % int(_id),
title=title,
rating=rating,
rating_max=rating_max,