summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framed.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/framed.py b/framed.py
index 75b3553..bdb6371 100644
--- a/framed.py
+++ b/framed.py
@@ -84,9 +84,9 @@ class LoadNewTitles(webapp.RequestHandler):
end = imdbList.content.find("</td>", index)
if index < 43 or end < 0:
break
- character = htmlRemove.sub("", imdbList.content[index:end])
- actors.append(actor)
- characters.append(character)
+ for character in htmlRemove.sub("", imdbList.content[index:end]).split(" / "):
+ actors.append(actor)
+ characters.append(character)
i += 1
if i == 10:
break