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

有没有什么比较好抓取指定 html 标签中内容的库

  •  
  •   bitkwan · Aug 27, 2016 · 3702 views
    This topic created in 3535 days ago, the information mentioned may be changed or developed.
    想抓 google 和一些搜索引擎的结果。。
    不走 API 的话,
    有没有什么抓取指定标签的库...可用..?
    8 replies    2016-08-31 16:59:34 +08:00
    incrediblink
        1
    incrediblink  
       Aug 27, 2016
    Cheerio
    muziyue
        2
    muziyue  
       Aug 27, 2016
    simple_html_dom 语法类似 jquery
    tumb8r
        3
    tumb8r  
       Aug 27, 2016
    HTMLParser
    wildfates
        4
    wildfates  
       Aug 27, 2016
    PQuery
    jarlyyn
        5
    jarlyyn  
       Aug 27, 2016
    simple_html_dom

    Cheerio 不是 node 的么?
    macroideal
        6
    macroideal  
       Aug 28, 2016
    lxml, xpath
    Mac
        7
    Mac  
       Aug 28, 2016
    phpquery
    zhudl321
        8
    zhudl321  
       Aug 31, 2016
    phpquery
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2331 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 01:38 · PVG 09:38 · LAX 18:38 · JFK 21:38
    ♥ Do have faith in what you're doing.