geekershared
V2EX  ›  Node.js

puppeteer 爬虫

  •  
  •   geekershared · Apr 18, 2022 · 6139 views
    This topic created in 1516 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   ·   3241 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:40 · PVG 18:40 · LAX 03:40 · JFK 06:40
    ♥ Do have faith in what you're doing.