guessit-io / guessit

GuessIt is a python library that extracts as much information as possible from a video filename.
https://guessit-io.github.io/guessit
GNU Lesser General Public License v3.0
816 stars 92 forks source link

AttributeError: 'tuple' object has no attribute 'find' Guessit Exception Report #691

Closed ghost closed 3 years ago

ghost commented 3 years ago

hi,I've made a mistake with tuple and guessit "got hungry" if you're interested this is the code

Repeatable exception tuple : ('01 Avengers - I più potenti eroi della Terra ', 74288, 'A')

minimal working code

`

!/usr/bin/env python3.7

from guessit import guessit

_tuple = ('01 Avengers - I più potenti eroi della Terra ', 74288, 'A') title = guessit(_tuple) # it should be _tuple[0] `

python3 -V : Python 3.7.3 uname -a : Linux xxxxxx 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux

guessitbug.log

ghost commented 3 years ago

.