new 'nsfw' Video attribute

This commit is contained in:
Romain Bignon 2010-04-17 13:37:48 +02:00
commit 35c0c7385b
3 changed files with 6 additions and 3 deletions

View file

@ -64,4 +64,5 @@ class IndexPage(PornPage):
rating=rating,
rating_max=rating_max,
duration=duration,
preview_url=preview_url)
preview_url=preview_url,
nsfw=True)

View file

@ -34,7 +34,8 @@ class VideoPage(PornPage):
self.video = Video(self.get_id(),
self.get_title(),
self.get_url())
self.get_url(),
nsfw=True)
self.set_details(self.video)