fix selector
This commit is contained in:
parent
c11b11b803
commit
9b1ce2a65c
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class VideoPage(PornPage):
|
|||
return el[0].cssselect('a')[0].attrib['href']
|
||||
|
||||
def get_title(self):
|
||||
el = self.document.getroot().cssselect('h1')
|
||||
el = self.document.getroot().cssselect('#videoArea h1')
|
||||
if el:
|
||||
return unicode(el[0].getchildren()[0].tail).strip()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue