Re:IMGKit: Python library of HTML to IMG wrapper
by pmlnr on Monday January 30, 2017 @11:46AM
(#13522691)
As much as I despise the nodejs dependency hell, PhantomJS is a better solution when compared to wkhtml, so a Python-PhantomJS wrapper would be a significantly better product imho.
[ Parent
| on HN ]
Re:IMGKit: Python library of HTML to IMG wrapper
by tyingq on Monday January 30, 2017 @01:18PM
(#13523633)
At least for screenshots, the headless support recently introduced into chrome might be the most straightforward solution, with the fewest pieces.
Some detail: https://docs.google.com/document/d/1VTcYz4q_x0f1O5IVrvRX4u1D...
Re:IMGKit: Python library of HTML to IMG wrapper
by NKCSS on Monday January 30, 2017 @12:13PM
(#13522969)
PhantomJS has stand-alone binaries that you can just call from Python if you wanted.
Re:IMGKit: Python library of HTML to IMG wrapper
by hackerboos on Monday January 30, 2017 @01:18PM
(#13523625)
That's all this project does.