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}")
...
问问题
273 次
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 回答