geekershared
V2EX  ›  Node.js

puppeteer 爬虫

  •  
  •   geekershared · Apr 18, 2022 · 6126 views
    This topic created in 1510 days ago, the information mentioned may be changed or developed.

    puppeteer 爬虫获取带有段落格式的数据,怎么把它直接粘贴到 word 文档还显示原来的段落格式

    libook
        1
    libook  
       Apr 27, 2022
    这个是前端页面上的思路,你可以参考一下,实际上就是复制 HTML 文档,并设置剪贴板格式为 text/html: https://www.jianshu.com/p/beeeceb21afd
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1007 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:16 · PVG 07:16 · LAX 16:16 · JFK 19:16
    ♥ Do have faith in what you're doing.