0
import dominate
from dominate import tags as tags

doc = dominate.document(title="Monitormaneto Data Center EOSP")
with doc:
    tags.meta(<meta http-equiv="refresh" content="30; URL="domain.url")
    tags.style("body{font-family:Helvetica}")
    ...
4

1 回答 1

0

Consider revising the argument passed to tags.meta() in your code:

import dominate
from dominate import tags as tags

doc = dominate.document(title="Monitormaneto Data Center EOSP")
with doc:
    # tags.meta(<meta http-equiv="refresh" content="30; URL="domain.url")
    tags.meta(http_equiv="refresh", content="30; URL=domain.url")
    tags.style("body{font-family:Helvetica}")
于 2018-11-21T10:29:33.357 回答