From 7ca7d6b48462e53fba0d32de529f0be11a856138 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 30 Jul 2007 12:09:55 +0000 Subject: [PATCH] episode of title --- scrapeit/imdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index 1ba7312..0f1b728 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -179,6 +179,9 @@ class IMDb: title = title.strip() if title.startswith('"') and title.endswith('"'): title = title[1:-1] + elif title.startswith('"') and title.find('"',1) > 0 and \ + title.find('"',1) == title.rfind('"'): + title = title[1:title.rfind('"')] + ':' + title[title.rfind('"')+1:] return title def parseYear(self):