mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-23 16:19:49 -05:00
update pillow dependency to get rid of github vul-
nerability warning
This commit is contained in:
parent
771d6aa626
commit
b44a444dc2
@ -350,7 +350,8 @@ class BrozzlerWorker:
|
||||
raise
|
||||
|
||||
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()
|
||||
img.save(out, "jpeg", quality=95)
|
||||
|
4
setup.py
4
setup.py
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||
|
||||
setuptools.setup(
|
||||
name='brozzler',
|
||||
version='1.4.dev295',
|
||||
version='1.4.dev296',
|
||||
description='Distributed web crawling with browsers',
|
||||
url='https://github.com/internetarchive/brozzler',
|
||||
author='Noah Levitt',
|
||||
@ -68,7 +68,7 @@ setuptools.setup(
|
||||
'reppy==0.3.4',
|
||||
'requests',
|
||||
'websocket-client!=0.39.0',
|
||||
'pillow==3.3.0',
|
||||
'pillow>=5.2.0',
|
||||
'urlcanon>=0.1.dev23',
|
||||
'doublethink>=0.2.0.dev88',
|
||||
'rethinkdb>=2.3,<2.4',
|
||||
|
Loading…
x
Reference in New Issue
Block a user