Please enable JavaScript to watch this video. Subscribe Now. Share Your Thoughts Click to share your thoughts. Show 1 more comment. The latest version is headless does not require X server. Sam Watkins Sam Watkins 2 2 silver badges 8 8 bronze badges. On Windows it is available on scoop or download the official binaries from the site — Phani Rithvij.
Install pip install weasyprint Run weasyprint mypage. Pithikos Pithikos 1, 2 2 gold badges 11 11 silver badges 18 18 bronze badges. I have just tried to install weasypeasey but didn't work.. Maybe you could help? It's actually weasyprint. So pip install weasyprint — Pithikos. Awesome it preserves the css and is awesome.. I could not install it with npm due to missing phantomjs-prebuild which could not propperly be installed due to access rights, even with root — Martin Thoma.
Requirements: PHP 5. Jeff Jeff 21 1 1 bronze badge. The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE. Worth a try though. This runs as a service on a Windows Desktop or Windows Server machine. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question.
Asked 13 years, 1 month ago. Active 7 months ago. Viewed 72k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Alexandre Alexandre 5 5 silver badges 2 2 bronze badges. To Support your point , 1 works like a charm 2 uses the webkit rendering engine, and qt which means it can benefit from updates. Though last RC was released Feb To update on kommradHomer's comment, the project is still active; the latest stable version was released just last month.
It is also available in Ubuntu official repositories, but at the time of writing a few versions behind. It can do many other things too, such as scraping using javascript and the DOM. Like the docs say, you need static version with patched Qt to run it without an X server.
Show 2 more comments. This should be the selected answer, it is free, open-source, and yes, results are phenomenal!
Highly recommended. And to set tiny margins: weasyprint docs. Roben Roben 8 8 silver badges 18 18 bronze badges. Puppeteer works, is fast, allows Selenium-like automation, works on pages which load content via JS, etc.
Thanks for your suggestion! The solution above is not a general solution for everyone. My post under includes an explanation and potentially useful information including links to workarounds. I located the application data referred to in the solution with difficulty; I deleted the profile files as recommended and reinstalled Firefox; but my pdf files were still labeled as type: Firefox html document. My pdf files still appeared as Firefox html documents and would open firefox every time I clicked on them.
Then I right clicked on one of these firefox html documents and chose "open with Adobe reader". That particular file, as well as every other firefox html document on my computer changed to Adobe pdf with the Adobe icon. This thread is about Firefox registering as the default handler for PDF files if none such application is already registered.
This has nothing to do with the Firefox profile folder as this only involves one or more registry keys. The latest release Firefox 31 for Windows has changed so that it may open some video and also.
If you right click the files you will get the option to open them with another application instead of Firefox. You can change the choice see links under. Firefox 31 is not converting or renaming your files.
0コメント