mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-27 10:06:00 +03:00
[GH-ISSUE #110] Archive Method: WEasyPrint PDF output #3096
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#3096
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sbrl on GitHub (Oct 30, 2018).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/110
Since I don't have headless chrome setup yet on my server (there's lot of xvfb fiddling to do there; is Firefox supported?), I was wondering if WEasyPrint support is planned?
Although it doesn't support JS and it only supports, for the most part, CSS 2 (with some additional paged-media-specific CSS modules), the output is, on the whole, pretty decent. Here's a pair of commands that will give some decent example output:
Since it's a Python library, you can even interface with it directly, IIRC.
@pirate commented on GitHub (Oct 31, 2018):
Thanks for the suggestion. I'm adding a plugin architecture soon that will allow people to contribute their own archive methods and share them in a central repo.
I'm going to delay adding new archive methods until I've implemented this new plugin system, but I'll definitely put this on the list of future plugins to add!
If you'd like to help speed up that process, you can submit an archive method for weasyprint using the current structure in
archive_methods.pyand I'll convert it over to the new plugin system when it's released.