Skip to content

Python script shown on manual homepage does not work after deployment of Anubis #261

@whitlabell

Description

@whitlabell

A python script is provided to convert the current FreeCAD manual wiki pages to an offline PDF. However, it does not work as expected since the deployment of the Anubis content protection system on the FreeCAD website. The extract_manual_links() function returns the href links on the Anubis page, not the Manual:Introduction page, so it finds no chapters or subchapters to extract.

The issue can be worked around by changing the user-agent string presented by the script. Simply search for two occurrences of "Mozilla" and replace it with "Curl". However that isn't really a proper solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions