...
 
Commits (3)
......@@ -162,7 +162,7 @@ class Imdb(Auth):
def search_for_name(self, name):
logger.info('called search_for_name %s', name)
name = re.sub(r'\W+', '_', name).strip('_')
name = re.sub(r'\W+', '_', name, flags=re.UNICODE).strip('_')
search_results = self._suggest_search(name)
results = []
for result in search_results.get('d', ()):
......@@ -178,7 +178,7 @@ class Imdb(Auth):
def search_for_title(self, title):
logger.info('called search_for_title %s', title)
title = re.sub(r'\W+', '_', title).strip('_')
title = re.sub(r'\W+', '_', title, flags=re.UNICODE).strip('_')
search_results = self._suggest_search(title)
results = []
for result in search_results.get('d', ()):
......