Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "C:\Python27\lib\site-packages\requests\sessions.py", line 487, in get
return self.request('GET', url, **kwargs)

 "C:\Python27\lib\site-packages\cfscrape\__init__.py", line 30, in request
return self.solve_cf_challenge(resp, **kwargs)

 "C:\Python27\lib\site-packages\cfscrape\__init__.py", line 52, in solve_cf_challenge
js = self.extract_js(body)

 "C:\Python27\lib\site-packages\cfscrape\__init__.py", line 73, in extract_js
"t,r,a,f.+?\r?\n[\s\S]+?a\.value =.+?)\r?\n", body).group(1)AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):


 "pillow_webp.py", line 8, in <module>

p.close()


 "/Users/alexwlchan/.virtualenvs/tempenv-2005296845a12/lib/python3.6/site-packages/PIL/Image
.py", line 438, in close

raise IOError("image was incomplete")
OSError: image was incomplete
