PHP Simple HTML DOM Parserã¯PHP5+ã§æ¸ãããHTML DOMã容æã«æä½ããã©ã¤ãã©ãªã§ããããããããããããããããããããããããããããããããããããããããããããããããããããã åä½ç°å¢ âãè¨èªï¼PHPï¼PHP5+ï¼ âãã©ã¤ã»ã³ã¹ï¼MIT æ©è½ã»ç¹å¾´ âãPHP5 + HTML DOMãã¼ãµã¼ âãjQueryã®ããã«ã»ã¬ã¯ã¿ã«ããæä½å¯è½ âãã·ã³ãã«ãªAPIã§ãåããããã ãµã³ãã« ãµã³ãã« 1.HTMLè¦ç´ ã®è§£æ // URLããã¡ã¤ã«ããDOMãªãã¸ã§ã¯ãã®åå¾ã»çæ $html = file_get_html('http://www.syboos.jp/'); // ãã¹ã¦ã®imgè¦ç´ ãåå¾ foreach($html->find('img') as $element) echo $element->src . '<br
{{#tags}}- {{label}}
{{/tags}}