Python: imgkit not converting all images in html

186 Views Asked by At
#!/usr/bin/env python3 

import imgkit 
imgkit.from_file(html local_path, ‘out.jpg’)

imgkit only converts the first image in the html. Is there an way to convert all images in html?

Or Is there an other way to convert html to ping/jpeg?

0

There are 0 best solutions below