move id2url to tools
This commit is contained in:
parent
735b79a75d
commit
0667774952
12 changed files with 119 additions and 18 deletions
|
|
@ -23,6 +23,8 @@ import re
|
|||
from weboob.capabilities.video import Video
|
||||
from weboob.tools.browser import BasePage
|
||||
|
||||
from .. import tools
|
||||
|
||||
|
||||
__all__ = ['IndexPage']
|
||||
|
||||
|
|
@ -59,4 +61,5 @@ class IndexPage(BasePage):
|
|||
title=title,
|
||||
duration=duration,
|
||||
preview_url=preview_url,
|
||||
nsfw=True)
|
||||
nsfw=True,
|
||||
id2url=tools.id2url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue