Closed kitten77 closed 5 years ago
workaround that fixes this
>>> from guessit import guessit
>>> name = '[ Engineering Catastrophes S02E10 1080p AMZN WEB-DL DD+ 2.0 x264-TrollHD ]'
>>> if name[0] == '[' and name[-1] == ']':
>>> #added to catch bad formated strings
>>> #thanks deniska for coming up with this one :)
>>> name = name[1:-1]
>>> g = guessit(name)
Wouldn't it be smarter to just trim it before handing it to guessit ?
Sorry i wasn't completly clear in my workaround, updated it with all code
Fixed by 0e1dc09aa3a73ad95a4787e84fd1e35e5445245f
missing title when brakets are present