Getting the Base URI for Weasyprint in Python Getting the Base URI for Weasyprint in Python flask flask