【文件属性】:
文件名称:php-dom-scraper:一个基于DOMDocument类的简单PHP DOM爬虫
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-20 07:32:59
PHP
php-dom-scraper
一个基于DOMDocument类和preg_match()函数的简单PHP DOM preg_match()
支持的
html
CSS
施玛
HTML
$dom_contents['html:head'] = [];
$dom_contents['html:links'] = [];
$dom_contents['html:scripts'] = [];
$dom_contents['html:styles'] = [];
$dom_contents['html:body'] = [];
$dom_contents['html:xpath'] = [];
CSS
$dom_contents['css'][$media_query][$selector] = $value;
用法
HTML
$html_contents = file_get_c
【文件预览】:
php-dom-scraper-master
----LICENSE(1KB)
----README.md(1KB)
----functions_dom_parser.php(6KB)