Fix many CapVideo-related ConversionWarnings
This commit is contained in:
parent
9773f9d626
commit
1f310a3d33
14 changed files with 23 additions and 22 deletions
|
|
@ -44,9 +44,9 @@ class SearchPage(BasePage):
|
|||
|
||||
video = InaVideo('boutique.%s' % id)
|
||||
|
||||
video.thumbnail = Thumbnail('http://boutique.ina.fr%s' % li.find('a').find('img').attrib['src'])
|
||||
video.thumbnail = Thumbnail(u'http://boutique.ina.fr%s' % li.find('a').find('img').attrib['src'])
|
||||
|
||||
video.title = self.parser.select(li, 'p.titre', 1).text
|
||||
video.title = unicode(self.parser.select(li, 'p.titre', 1).text)
|
||||
|
||||
date = self.parser.select(li, 'p.date', 1).text
|
||||
day, month, year = [int(s) for s in date.split('/')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue