diff options
-rw-r--r-- | framed.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |