support signatures
This commit is contained in:
parent
1ee6a9a060
commit
c9252a855b
3 changed files with 17 additions and 2 deletions
|
|
@ -65,6 +65,7 @@ class DLFP(BaseBrowser):
|
|||
|
||||
self.location(url)
|
||||
assert self.is_on_page(ContentPage)
|
||||
self.page.url = self.absurl(url)
|
||||
content = self.page.get_article()
|
||||
content.id = _id
|
||||
return content
|
||||
|
|
@ -121,6 +122,7 @@ class DLFP(BaseBrowser):
|
|||
self.location(url)
|
||||
|
||||
comment = None
|
||||
self.page.url = self.absurl(url)
|
||||
if self.is_on_page(CommentPage):
|
||||
comment = self.page.get_comment()
|
||||
elif self.is_on_page(ContentPage):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue