fix youtube
This commit is contained in:
parent
4ae57899af
commit
423bc10f33
1 changed files with 1 additions and 6 deletions
|
|
@ -61,9 +61,4 @@ class VideoPage(BasePage):
|
|||
return u''
|
||||
|
||||
def set_details(self, v):
|
||||
div = self.document.getroot().cssselect('div[id=watch-description-body]')
|
||||
if not div:
|
||||
return
|
||||
|
||||
div = div[0]
|
||||
v.author = div.find('a').find('strong').text
|
||||
v.author = self.document.getroot().cssselect('a.watch-description-username strong')[0].text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue