install xtractmime

This commit is contained in:
Akshay Sharma 2021-07-14 20:57:33 +05:30
parent ee682af3b0
commit 0aa61cec13
3 changed files with 11300 additions and 0 deletions

11298
coverage.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,7 @@ based on different criteria.
from mimetypes import MimeTypes
from pkgutil import get_data
from io import StringIO
from xtractmime import extract_mime
from scrapy.http import Response
from scrapy.utils.misc import load_object

View File

@ -17,6 +17,7 @@ deps =
#mitmproxy >= 5.3.0; python_version >= '3.9' and implementation_name != 'pypy'
mitmproxy >= 4.0.4; python_version >= '3.7' and python_version < '3.9' and implementation_name != 'pypy'
mitmproxy >= 4.0.4, < 5; python_version >= '3.6' and python_version < '3.7' and platform_system != 'Windows' and implementation_name != 'pypy'
git+https://github.com/scrapy/xtractmime.git@compute-mime#egg=xtractmime
# Extras
botocore>=1.4.87
passenv =