Closed amhoho closed 5 months ago
测试页面:链接 QL代码: $dom='html > body > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(1) > div:nth-of-type(3) > section:nth-of-type(2)';$print=$QueryList->find($dom)->htmlOuter(); ql版本:两年前至最新版都一样结果. 抓取到的内容:"<section class=\"_wxbEditor\开头 正确的内容应该是:<section><article 开头
$dom='html > body > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(1) > div:nth-of-type(3) > section:nth-of-type(2)';$print=$QueryList->find($dom)->htmlOuter();
两年前至最新版都一样结果.
"<section class=\"_wxbEditor\开头
<section><article 开头
测试页面:链接 QL代码:
$dom='html > body > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(1) > div:nth-of-type(3) > section:nth-of-type(2)';$print=$QueryList->find($dom)->htmlOuter();
ql版本:两年前至最新版都一样结果.
抓取到的内容:"<section class=\"_wxbEditor\开头
正确的内容应该是:<section><article 开头