V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
amrice
V2EX  ›  问与答

怎么从代码中筛选数据?

  •  
  •   amrice · Nov 20, 2022 · 1280 views
    This topic created in 1268 days ago, the information mentioned may be changed or developed.

    如题,有个管理系统需要把数据弄出来,但是没有导出功能,所以我直接把代码复制出来了,除了 python 外,有没有简单的能从一大堆代码里筛选出数据,数据都在 html 标签内

    4 replies    2022-11-20 19:31:24 +08:00
    subjadeites
        1
    subjadeites  
       Nov 20, 2022 via Android
    是有什么原因不用 py 么,感觉这种场景 py 是最合适的选择,简单快捷。
    Yourshell
        2
    Yourshell  
       Nov 20, 2022 via Android
    这不就是常见的爬虫吗。不过看你的描述应该不是写代码的,可以尝试用火车头之类的采集。
    amrice
        3
    amrice  
    OP
       Nov 20, 2022
    @subjadeites 因为不会。。。
    amrice
        4
    amrice  
    OP
       Nov 20, 2022
    @Yourshell 好用!谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3478 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 11:15 · PVG 19:15 · LAX 04:15 · JFK 07:15
    ♥ Do have faith in what you're doing.