arte: fix parsing of video title

This commit is contained in:
Gabriel Kerneis 2012-12-15 17:18:33 +01:00
commit 77edd03768

View file

@ -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)