Open ansermak opened 9 years ago
Check if file downloaded is really an image. Ideas? I think we can check extension. Maybe - size. But what about file type?
Imghdr https://docs.python.org/2/library/imghdr.html
Check if file downloaded is really an image. Ideas? I think we can check extension. Maybe - size. But what about file type?