arte: fix parsing of video title
This commit is contained in:
parent
3f52fc737f
commit
77edd03768
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class VideoPage(BasePage):
|
|||
return video
|
||||
|
||||
def get_title(self):
|
||||
return self.document.getroot().cssselect('h2')[0].text
|
||||
return self.document.getroot().cssselect('h1')[0].text
|
||||
|
||||
def get_url(self, lang, quality):
|
||||
obj = self.parser.select(self.document.getroot(), 'object', 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue