episode of title

This commit is contained in:
j 2007-07-30 12:09:55 +00:00
parent c862d7f50b
commit 7ca7d6b484
1 changed files with 3 additions and 0 deletions

View File

@ -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):