psf / requests-html

Pythonic HTML Parsing for Humans™
http://html.python-requests.org
MIT License
13.64k stars 977 forks source link

Get all html error #559

Open ThorPham opened 9 months ago

ThorPham commented 9 months ago

I try use requests_html to extract all html but some website not work. like https://www.hqco.com.vn/. it's has script .

<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8"/>
        <link rel="icon" href="/favicon.ico"/>
        <meta name="viewport" content="width=device-width,initial-scale=1"/>
        <meta name="theme-color" content="#000000"/>
        <meta name="description" content="H&Q ADVISORY Independent member MORISON GLOBAL"/>
        <link rel="apple-touch-icon" href="/logo192.png"/>
        <link rel="manifest" href="/manifest.json"/>
        <title>H &Q ADVISORY</title>
        <script defer="defer" src="/static/js/main.0aaeb881.js"></script>
        <link href="/static/css/main.52dadb68.css" rel="stylesheet">
    </head>
    <body>
        <noscript>You need to enable JavaScript to run this app.</noscript>
        <div id="root"></div>
    </body>
</html>