search

Home  >  Q&A  >  body text

php crawls web page data

I have some needs to capture the Baidu takeout merchant webpage https://wmpass.baidu.com/ucen..., but this webpage is written using a modular front-end framework. You can only view the source code I saw some source code before rendering. The querylist I used to get is not the data after page rendering. How can I get the source code after rendering? I need to get the rendered html page through php, not the browser F12 to view it.

PHP中文网PHP中文网2730 days ago865

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-24 11:36:27

    F12

    Haha, no matter which language you speak, you can get the corresponding html

    by displaying it in the browser

    If you don’t go to the developer tools to get it yourself, do you want the developer to copy the source code to you?

    F12 and viewing the source code are two different things. Viewing the source code is of course not what you want, but the F12 review element is the rendered page, and every dom has it

    Did you send a web link? Can I view page elements through F12? Forget it, don’t waste your breath

    reply
    0
  • Cancelreply