Closed jtpavlock closed 4 months ago
Looks like imghdr is deprecated as of python 3.11 and slated for removal in 3.13.
https://peps.python.org/pep-0594/
Some alternatives suggested in the above pep:
https://pypi.org/project/filetype/ https://pypi.org/project/puremagic/ https://pypi.org/project/python-magic/
My searching skills suck, sorry for the dup!
https://github.com/beetbox/mediafile/issues/67
Looks like imghdr is deprecated as of python 3.11 and slated for removal in 3.13.
https://peps.python.org/pep-0594/
Some alternatives suggested in the above pep:
https://pypi.org/project/filetype/ https://pypi.org/project/puremagic/ https://pypi.org/project/python-magic/