Fix many CapVideo-related ConversionWarnings
This commit is contained in:
parent
9773f9d626
commit
1f310a3d33
14 changed files with 23 additions and 22 deletions
|
|
@ -61,7 +61,7 @@ class IndexPage(BasePage):
|
|||
minute)
|
||||
|
||||
url = self.parser.select(div, 'img.illustration', 1).attrib['src']
|
||||
video.thumbnail = Thumbnail('http://www.pluzz.fr/%s' % url)
|
||||
video.thumbnail = Thumbnail(u'http://www.pluzz.fr/%s' % url)
|
||||
|
||||
yield video
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ __all__ = ['PluzzVideo']
|
|||
class PluzzVideo(BaseVideo):
|
||||
def __init__(self, *args, **kwargs):
|
||||
BaseVideo.__init__(self, *args, **kwargs)
|
||||
self.ext = 'wmv'
|
||||
self.ext = u'wmv'
|
||||
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue