mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-05 21:58:56 -04:00
update pillow dependency to get rid of github vul-
nerability warning
This commit is contained in:
parent
771d6aa626
commit
b44a444dc2
2 changed files with 4 additions and 3 deletions
|
@ -350,7 +350,8 @@ class BrozzlerWorker:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def full_and_thumb_jpegs(self, large_png):
|
def full_and_thumb_jpegs(self, large_png):
|
||||||
img = PIL.Image.open(io.BytesIO(large_png))
|
# these screenshots never have any alpha (right?)
|
||||||
|
img = PIL.Image.open(io.BytesIO(large_png)).convert('RGB')
|
||||||
|
|
||||||
out = io.BytesIO()
|
out = io.BytesIO()
|
||||||
img.save(out, "jpeg", quality=95)
|
img.save(out, "jpeg", quality=95)
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='brozzler',
|
name='brozzler',
|
||||||
version='1.4.dev295',
|
version='1.4.dev296',
|
||||||
description='Distributed web crawling with browsers',
|
description='Distributed web crawling with browsers',
|
||||||
url='https://github.com/internetarchive/brozzler',
|
url='https://github.com/internetarchive/brozzler',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
@ -68,7 +68,7 @@ setuptools.setup(
|
||||||
'reppy==0.3.4',
|
'reppy==0.3.4',
|
||||||
'requests',
|
'requests',
|
||||||
'websocket-client!=0.39.0',
|
'websocket-client!=0.39.0',
|
||||||
'pillow==3.3.0',
|
'pillow>=5.2.0',
|
||||||
'urlcanon>=0.1.dev23',
|
'urlcanon>=0.1.dev23',
|
||||||
'doublethink>=0.2.0.dev88',
|
'doublethink>=0.2.0.dev88',
|
||||||
'rethinkdb>=2.3,<2.4',
|
'rethinkdb>=2.3,<2.4',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue