[francetelevisions] fix unicode warning
This commit is contained in:
parent
1f17d9f265
commit
e63255e0be
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ class PluzzBrowser(PagesBrowser):
|
|||
for item in self.read_url(video.url):
|
||||
pass
|
||||
|
||||
video.url = item
|
||||
video.url = u'%s' % item
|
||||
return video
|
||||
|
||||
def read_url(self, url):
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ class VideoPage(JsonPage):
|
|||
obj_date = DateTime(Dict('diffusion/date_debut'))
|
||||
obj_duration = Duration(Dict('duree'))
|
||||
obj_description = Dict('synopsis')
|
||||
obj_ext = 'm3u8'
|
||||
obj_ext = u'm3u8'
|
||||
|
||||
def obj_thumbnail(self):
|
||||
url = Format('http://pluzz.francetv.fr%s', Dict('image'))(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue