diff --git a/ox/web/piratecinema.py b/ox/web/piratecinema.py index 9ae3c24..4ed946b 100644 --- a/ox/web/piratecinema.py +++ b/ox/web/piratecinema.py @@ -7,7 +7,7 @@ from ox.net import read_url def get_poster_url(id): url = 'http://piratecinema.org/posters/' - html = read_url(url, unicode=True) + html = read_url(url).decode('utf-8') results = re.compile('src="(.+)" title=".+\((\d{7})\)"').findall(html) for result in results: if result[1] == id: