lxml.html.make_links_relative()?

Bug #1357443 reported by j on 2014-08-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Undecided
Unassigned

Bug Description

Is there any interest in adding a `make_links_relative` method to lxml.html? This transformation is useful because it allows pages/sites to be remounted under different hosts and paths without breaking links. I would be happy to work on a pull request if there is interest.

Thanks for your consideration and for the great work on lxml.

scoder (scoder) wrote :

sure, why not.

Changed in lxml:
status: New → Triaged
j (j045233) wrote :

I'm no longer working with this currently so may not have time to submit a pull request with my code after all. If I can (and nobody beats me to it) I will.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers