Important: Please read the Qt Code of Conduct -

How to get html code ,i ‘m using QwebEngineView

  • Excuse me,I am using PyQt5 QwebEngineView, how to get the html code.
    for example:

    <!doctype html>
                    <meta charset="utf-8">
                    <meta http-equiv="X-UA-Compatible" content="IE=edge">
                    <meta name="renderer" content="webkit">
                    <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
                    <link href="/static/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
                    <link href="/static/css/site.css?date=20180912" rel="stylesheet">
                    <link href="/static/codemirror/lib/codemirror.css" rel="stylesheet">
                    <!--[if lte IE 9]>
                    <script src="/static/js/requestAnimationFrame.js"></script>

    (from google translation)

Log in to reply