1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 08:22:56 +01:00

Also pass the base through to the super clean for royalroad

This commit is contained in:
David Lynch 2024-12-02 11:01:34 -06:00
parent 31154ed8d4
commit acce8138a9

View file

@ -101,7 +101,7 @@ class RoyalRoad(Site):
return content, updated
def _clean(self, contents, full_page, base=False):
contents = super()._clean(contents)
contents = super()._clean(contents, base=base)
# Royalroad has started inserting "this was stolen" notices into its
# HTML, and hiding them with CSS. Currently the CSS is very easy to