episode of title

This commit is contained in:
j 2007-07-30 12:09:55 +00:00
parent c862d7f50b
commit 7ca7d6b484

View file

@ -179,6 +179,9 @@ class IMDb:
title = title.strip() title = title.strip()
if title.startswith('"') and title.endswith('"'): if title.startswith('"') and title.endswith('"'):
title = title[1:-1] 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 return title
def parseYear(self): def parseYear(self):